@elimeleth/builderbot-langchain
Version:
Interface para crear chatbot con Builderbot & LangChain
16 lines • 653 B
TypeScript
import { Callbacks, ModelArgs, ModelName } from "../types";
import { ZodType, ZodTypeDef } from "zod";
import { TFlow } from "@builderbot/bot/dist/types";
export default class StructuredOutput {
private static kwrd;
private static schema;
private static model;
static setKeyword: (ev: any) => typeof StructuredOutput;
static setZodSchema: <T>(schema: ZodType<T, ZodTypeDef, T>) => typeof StructuredOutput;
static setAIModel: (ai: {
modelName: ModelName;
args?: ModelArgs;
}) => typeof StructuredOutput;
static create: (callbacks?: Callbacks) => TFlow<any, any>;
}
//# sourceMappingURL=struct.flow.d.ts.map