prompt-compose
Version:
A JS library for building and managing GPT prompts documents.
13 lines (11 loc) • 335 B
text/typescript
import { Instruction } from "./instruction";
import { Section } from "./section";
function Format(dataStructureSample: Array<any> | Object) {
return Instruction(
`Answer should be in a valid JSON, use the following structure`,
`ResponseJSON: ${JSON.stringify(dataStructureSample)}`
);
}
export {
Format
};