Documentation ¶
Index ¶
Constants ¶
View Source
const ( CORP_OPENAI = "OpenAI" CORP_AZURE = "Azure" CORP_BAIDU = "Baidu" CORP_XFYUN = "Xfyun" CORP_ALIYUN = "Aliyun" CORP_ZHIPUAI = "ZhipuAI" CORP_GOOGLE = "Google" CORP_DEEPSEEK = "DeepSeek" CORP_360AI = "360AI" CORP_MIDJOURNEY = "Midjourney" CORP_ANTHROPIC = "Anthropic" CORP_GCP_CLAUDE = "GCPClaude" CORP_AWS_CLAUDE = "AWSClaude" )
View Source
const ( ROLE_SYSTEM = "system" ROLE_USER = "user" ROLE_ASSISTANT = "assistant" ROLE_FUNCTION = "function" ROLE_TOOL = "tool" ROLE_MODEL = "model" )
View Source
const ( DELTA_TYPE_TEXT = "text_delta" DELTA_TYPE_INPUT_JSON = "input_json_delta" )
View Source
const ( COMPLETION_ID_PREFIX = "chatcmpl-" COMPLETION_OBJECT = "chat.completion" COMPLETION_STREAM_OBJECT = "chat.completion.chunk" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.