Interface GenerateOptions

interface GenerateOptions {
    asserts?: Assertion[];
    functionCall?: "none" | {
        function: {
            name: string;
        };
        type: "function";
    } | "auto";
    functions?: AITextFunction[];
    promptTemplate?: typeof PromptTemplate;
}

Properties

asserts?: Assertion[]
functionCall?: "none" | {
    function: {
        name: string;
    };
    type: "function";
} | "auto"

Type declaration

  • function: {
        name: string;
    }
    • name: string
  • type: "function"
functions?: AITextFunction[]
promptTemplate?: typeof PromptTemplate