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.

69 lines
1.8KB

  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"
  13. ZHIPU_AI = "glm-4"
  14. MOONSHOT = "moonshot"
  15. # model
  16. CLAUDE3 = "claude-3-opus-20240229"
  17. GPT35 = "gpt-3.5-turbo"
  18. GPT35_0125 = "gpt-3.5-turbo-0125"
  19. GPT35_1106 = "gpt-3.5-turbo-1106"
  20. GPT_4o = "gpt-4o"
  21. GPT4_TURBO = "gpt-4-turbo"
  22. GPT4_TURBO_PREVIEW = "gpt-4-turbo-preview"
  23. GPT4_TURBO_04_09 = "gpt-4-turbo-2024-04-09"
  24. GPT4_TURBO_01_25 = "gpt-4-0125-preview"
  25. GPT4_TURBO_11_06 = "gpt-4-1106-preview"
  26. GPT4_VISION_PREVIEW = "gpt-4-vision-preview"
  27. GPT4 = "gpt-4"
  28. GPT4_32k = "gpt-4-32k"
  29. GPT4_06_13 = "gpt-4-0613"
  30. GPT4_32k_06_13 = "gpt-4-32k-0613"
  31. WHISPER_1 = "whisper-1"
  32. TTS_1 = "tts-1"
  33. TTS_1_HD = "tts-1-hd"
  34. WEN_XIN = "wenxin"
  35. WEN_XIN_4 = "wenxin-4"
  36. QWEN_TURBO = "qwen-turbo"
  37. QWEN_PLUS = "qwen-plus"
  38. QWEN_MAX = "qwen-max"
  39. LINKAI_35 = "linkai-3.5"
  40. LINKAI_4_TURBO = "linkai-4-turbo"
  41. LINKAI_4o = "linkai-4o"
  42. MODEL_LIST = [
  43. GPT35, GPT35_0125, GPT35_1106, "gpt-3.5-turbo-16k",
  44. 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,
  45. WEN_XIN, WEN_XIN_4,
  46. XUNFEI, GEMINI, ZHIPU_AI, MOONSHOT,
  47. "claude", "claude-3-haiku", "claude-3-sonnet", "claude-3-opus", "claude-3-opus-20240229",
  48. "moonshot-v1-8k", "moonshot-v1-32k", "moonshot-v1-128k",
  49. LINKAI_35, LINKAI_4_TURBO, LINKAI_4o,
  50. QWEN, QWEN_TURBO, QWEN_PLUS, QWEN_MAX
  51. ]
  52. # channel
  53. FEISHU = "feishu"
  54. DINGTALK = "dingtalk"