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 2.0KB

5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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" # 使用cookie的历史模型
  9. CLAUDEAPI= "claudeAPI" # 通过Claude api调用模型
  10. QWEN = "qwen" # 旧版通义模型
  11. QWEN_DASHSCOPE = "dashscope" # 通义新版sdk和api key
  12. GEMINI = "gemini" # gemini-1.0-pro
  13. ZHIPU_AI = "glm-4"
  14. MOONSHOT = "moonshot"
  15. MiniMax = "minimax"
  16. # model
  17. CLAUDE3 = "claude-3-opus-20240229"
  18. GPT35 = "gpt-3.5-turbo"
  19. GPT35_0125 = "gpt-3.5-turbo-0125"
  20. GPT35_1106 = "gpt-3.5-turbo-1106"
  21. GPT_4o = "gpt-4o"
  22. GPT4_TURBO = "gpt-4-turbo"
  23. GPT4_TURBO_PREVIEW = "gpt-4-turbo-preview"
  24. GPT4_TURBO_04_09 = "gpt-4-turbo-2024-04-09"
  25. GPT4_TURBO_01_25 = "gpt-4-0125-preview"
  26. GPT4_TURBO_11_06 = "gpt-4-1106-preview"
  27. GPT4_VISION_PREVIEW = "gpt-4-vision-preview"
  28. GPT4 = "gpt-4"
  29. GPT4_32k = "gpt-4-32k"
  30. GPT4_06_13 = "gpt-4-0613"
  31. GPT4_32k_06_13 = "gpt-4-32k-0613"
  32. WHISPER_1 = "whisper-1"
  33. TTS_1 = "tts-1"
  34. TTS_1_HD = "tts-1-hd"
  35. WEN_XIN = "wenxin"
  36. WEN_XIN_4 = "wenxin-4"
  37. QWEN_TURBO = "qwen-turbo"
  38. QWEN_PLUS = "qwen-plus"
  39. QWEN_MAX = "qwen-max"
  40. LINKAI_35 = "linkai-3.5"
  41. LINKAI_4_TURBO = "linkai-4-turbo"
  42. LINKAI_4o = "linkai-4o"
  43. GEMINI_PRO = "gemini-1.0-pro"
  44. GEMINI_15_flash = "gemini-1.5-flash"
  45. GEMINI_15_PRO = "gemini-1.5-pro"
  46. MODEL_LIST = [
  47. GPT35, GPT35_0125, GPT35_1106, "gpt-3.5-turbo-16k",
  48. GPT_4o, GPT4_TURBO, GPT4_TURBO_PREVIEW, GPT4_TURBO_01_25, GPT4_TURBO_11_06, GPT4, GPT4_32k, GPT4_06_13, GPT4_32k_06_13,
  49. WEN_XIN, WEN_XIN_4,
  50. XUNFEI, ZHIPU_AI, MOONSHOT, MiniMax,
  51. GEMINI, GEMINI_PRO, GEMINI_15_flash, GEMINI_15_PRO,
  52. "claude", "claude-3-haiku", "claude-3-sonnet", "claude-3-opus", "claude-3-opus-20240229", "claude-3.5-sonnet",
  53. "moonshot-v1-8k", "moonshot-v1-32k", "moonshot-v1-128k",
  54. QWEN, QWEN_TURBO, QWEN_PLUS, QWEN_MAX,
  55. LINKAI_35, LINKAI_4_TURBO, LINKAI_4o
  56. ]
  57. # channel
  58. FEISHU = "feishu"
  59. DINGTALK = "dingtalk"