import { FormInstance } from "antd"; import { LLMParametersValue } from "../components/LLMParameters"; import { LLMLabelTagType } from "../components/LLMSelect/LLMLabel"; type UseLLM = { form: FormInstance; }; export default function useLLM({ form }: UseLLM): { LLMOptions: { value: string; label: string; tags: { type: LLMLabelTagType; value: string; }[]; }[]; LLMValue: LLMParametersValue; onLLMValueChange: (this: unknown, value: LLMParametersValue) => void; initialValues: { temperature: { open: boolean; value: string | number; }; } | { branches?: { branch_id: string; next_nodes: string[]; config?: Record; input?: { widget: any; form: { id: string; version: string; type: string; structure: import("../../../../../../../MagicJsonSchemaEditor/types/Schema").default; }; }; output?: { widget: any; form: { id: string; version: string; type: string; structure: import("../../../../../../../MagicJsonSchemaEditor/types/Schema").default; }; }; }[]; llm: any; temperature?: undefined; } | { system_prompt: { id: string; version: string; type: string; structure: { type: string; const_value: any; expression_value: any; }; }; user_prompt: { id: string; version: string; type: string; structure: { type: string; const_value: any; expression_value: any; }; }; tools: any[]; option_tools: any[]; knowledge_config: { operator: string; knowledge_list: { knowledge_code: string; knowledge_type: number; business_id: string; name: string; description: string; }[]; limit: number; score: number; }; messages: { id: string; version: string; type: string; structure: { type: string; key: string; sort: number; title: string; description: string; required: any; value: any; encryption: boolean; encryption_value: any; items: { type: string; key: string; sort: number; title: string; description: string; required: string[]; value: any; encryption: boolean; encryption_value: any; items: any; properties: { role: { type: string; key: string; sort: number; title: string; description: string; required: any; value: any; encryption: boolean; encryption_value: any; items: any; properties: any; }; content: { type: string; key: string; sort: number; title: string; description: string; required: any; value: any; encryption: boolean; encryption_value: any; items: any; properties: any; }; }; }; properties: any; }; }; llm: any; temperature?: undefined; }; }; export {};