coai/globals/constant.go
2023-12-20 15:05:48 +08:00

40 lines
928 B
Go

package globals
const (
System = "system"
User = "user"
Assistant = "assistant"
Tool = "tool"
)
const (
OpenAIChannelType = "openai"
ClaudeChannelType = "claude"
SlackChannelType = "slack"
SparkdeskChannelType = "sparkdesk"
ChatGLMChannelType = "chatglm"
HunyuanChannelType = "hunyuan"
QwenChannelType = "qwen"
ZhinaoChannelType = "zhinao"
BaichuanChannelType = "baichuan"
SkylarkChannelType = "skylark"
BingChannelType = "bing"
PalmChannelType = "palm"
MidjourneyChannelType = "midjourney"
OneAPIChannelType = "oneapi"
)
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
)