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.1KB

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
5 months ago
5 months ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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. GPT_4O_0806 = "gpt-4o-2024-08-06"
  23. GPT4_TURBO = "gpt-4-turbo"
  24. GPT4_TURBO_PREVIEW = "gpt-4-turbo-preview"
  25. GPT4_TURBO_04_09 = "gpt-4-turbo-2024-04-09"
  26. GPT4_TURBO_01_25 = "gpt-4-0125-preview"
  27. GPT4_TURBO_11_06 = "gpt-4-1106-preview"
  28. GPT4_VISION_PREVIEW = "gpt-4-vision-preview"
  29. GPT4 = "gpt-4"
  30. GPT_4o_MINI = "gpt-4o-mini"
  31. GPT4_32k = "gpt-4-32k"
  32. GPT4_06_13 = "gpt-4-0613"
  33. GPT4_32k_06_13 = "gpt-4-32k-0613"
  34. WHISPER_1 = "whisper-1"
  35. TTS_1 = "tts-1"
  36. TTS_1_HD = "tts-1-hd"
  37. WEN_XIN = "wenxin"
  38. WEN_XIN_4 = "wenxin-4"
  39. QWEN_TURBO = "qwen-turbo"
  40. QWEN_PLUS = "qwen-plus"
  41. QWEN_MAX = "qwen-max"
  42. LINKAI_35 = "linkai-3.5"
  43. LINKAI_4_TURBO = "linkai-4-turbo"
  44. LINKAI_4o = "linkai-4o"
  45. GEMINI_PRO = "gemini-1.0-pro"
  46. GEMINI_15_flash = "gemini-1.5-flash"
  47. GEMINI_15_PRO = "gemini-1.5-pro"
  48. MODEL_LIST = [
  49. GPT35, GPT35_0125, GPT35_1106, "gpt-3.5-turbo-16k",
  50. GPT_4o, GPT_4O_0806, GPT_4o_MINI, GPT4_TURBO, GPT4_TURBO_PREVIEW, GPT4_TURBO_01_25, GPT4_TURBO_11_06, GPT4, GPT4_32k, GPT4_06_13, GPT4_32k_06_13,
  51. WEN_XIN, WEN_XIN_4,
  52. XUNFEI, ZHIPU_AI, MOONSHOT, MiniMax,
  53. GEMINI, GEMINI_PRO, GEMINI_15_flash, GEMINI_15_PRO,
  54. "claude", "claude-3-haiku", "claude-3-sonnet", "claude-3-opus", "claude-3-opus-20240229", "claude-3.5-sonnet",
  55. "moonshot-v1-8k", "moonshot-v1-32k", "moonshot-v1-128k",
  56. QWEN, QWEN_TURBO, QWEN_PLUS, QWEN_MAX,
  57. LINKAI_35, LINKAI_4_TURBO, LINKAI_4o
  58. ]
  59. # channel
  60. FEISHU = "feishu"
  61. DINGTALK = "dingtalk"