coai/globals/constant.go
2024-03-12 15:08:11 +08:00

43 lines
1.0 KiB
Go

package globals
const (
System = "system"
User = "user"
Assistant = "assistant"
Tool = "tool"
Function = "function"
)
const (
OpenAIChannelType = "openai"
AzureOpenAIChannelType = "azure"
ClaudeChannelType = "claude"
SlackChannelType = "slack"
SparkdeskChannelType = "sparkdesk"
ChatGLMChannelType = "chatglm"
HunyuanChannelType = "hunyuan"
QwenChannelType = "qwen"
ZhinaoChannelType = "zhinao"
BaichuanChannelType = "baichuan"
SkylarkChannelType = "skylark"
BingChannelType = "bing"
PalmChannelType = "palm"
MidjourneyChannelType = "midjourney"
MoonshotChannelType = "moonshot"
)
const (
NonBilling = "non-billing"
TimesBilling = "times-billing"
TokenBilling = "token-billing"
)
const (
AnonymousType = "anonymous"
NormalType = "normal"
BasicType = "basic" // basic subscription
StandardType = "standard" // standard subscription
ProType = "pro" // pro subscription
AdminType = "admin"
)