Home > llm-ops > createLLMSchema
createLLMSchema interface
创建LLM的参数接口
Signature:
typescript
export interface createLLMSchema
export interface createLLMSchema
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
cache? | boolean | (Optional) | |
choice_num? | number | 1 | (Optional) | |
HELICONE_AUTH_API_KEY? | string | (Optional) Helicone授权API密钥 | |
history? | messagesType | (Optional) | |
modelName? | (string & object) | "gpt-4" | "gpt-4-0314" | "gpt-4-0613" | "gpt-4-32k" | "gpt-4-32k-0314" | "gpt-4-32k-0613" | "gpt-3.5-turbo" | "gpt-3.5-turbo-16k" | "gpt-3.5-turbo-0301" | "gpt-3.5-turbo-0613" | "gpt-3.5-turbo-16k-0613" | (Optional) 模型名称选项 | |
OPENAI_API_KEY? | string | (Optional) OpenAI API密钥 | |
stop? | string | null | string[] | (Optional) | |
temperature? | number | (Optional) | |
tokens? | number | (Optional) | |
user? | string | (Optional) |