You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

const.py 1.2KB

1 년 전
1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # bot_type
  2. OPEN_AI = "openAI"
  3. CHATGPT = "chatGPT"
  4. BAIDU = "baidu"
  5. XUNFEI = "xunfei"
  6. CHATGPTONAZURE = "chatGPTOnAzure"
  7. LINKAI = "linkai"
  8. CLAUDEAI = "claude"
  9. CLAUDEAPI= "claudeAPI"
  10. QWEN = "qwen"
  11. QWEN_DASHSCOPE = "dashscope"
  12. QWEN_TURBO = "qwen-turbo"
  13. QWEN_PLUS = "qwen-plus"
  14. QWEN_MAX = "qwen-max"
  15. GEMINI = "gemini"
  16. ZHIPU_AI = "glm-4"
  17. MOONSHOT = "moonshot"
  18. # model
  19. CLAUDE3 = "claude-3-opus-20240229"
  20. GPT35 = "gpt-3.5-turbo"
  21. GPT4 = "gpt-4"
  22. GPT_4o = "gpt-4o"
  23. LINKAI_35 = "linkai-3.5"
  24. LINKAI_4_TURBO = "linkai-4-turbo"
  25. LINKAI_4o = "linkai-4o"
  26. GPT4_TURBO_PREVIEW = "gpt-4-turbo-2024-04-09"
  27. GPT4_TURBO_04_09 = "gpt-4-turbo-2024-04-09"
  28. GPT4_TURBO_01_25 = "gpt-4-0125-preview"
  29. GPT4_VISION_PREVIEW = "gpt-4-vision-preview"
  30. WHISPER_1 = "whisper-1"
  31. TTS_1 = "tts-1"
  32. TTS_1_HD = "tts-1-hd"
  33. MODEL_LIST = ["gpt-3.5-turbo", "gpt-3.5-turbo-16k", "gpt-4", "wenxin", "wenxin-4", "xunfei", "claude", "claude-3-opus-20240229", "gpt-4-turbo",
  34. "gpt-4-turbo-preview", "gpt-4-1106-preview", GPT4_TURBO_PREVIEW, GPT4_TURBO_01_25, GPT_4o, QWEN, GEMINI, ZHIPU_AI, MOONSHOT,
  35. QWEN_TURBO, QWEN_PLUS, QWEN_MAX, LINKAI_35, LINKAI_4_TURBO, LINKAI_4o]
  36. # channel
  37. FEISHU = "feishu"
  38. DINGTALK = "dingtalk"