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.

74 satır
2.0KB

  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. GPT_4o_MINI = "gpt-4o-mini"
  30. GPT4_32k = "gpt-4-32k"
  31. GPT4_06_13 = "gpt-4-0613"
  32. GPT4_32k_06_13 = "gpt-4-32k-0613"
  33. WHISPER_1 = "whisper-1"
  34. TTS_1 = "tts-1"
  35. TTS_1_HD = "tts-1-hd"
  36. WEN_XIN = "wenxin"
  37. WEN_XIN_4 = "wenxin-4"
  38. QWEN_TURBO = "qwen-turbo"
  39. QWEN_PLUS = "qwen-plus"
  40. QWEN_MAX = "qwen-max"
  41. LINKAI_35 = "linkai-3.5"
  42. LINKAI_4_TURBO = "linkai-4-turbo"
  43. LINKAI_4o = "linkai-4o"
  44. GEMINI_PRO = "gemini-1.0-pro"
  45. GEMINI_15_flash = "gemini-1.5-flash"
  46. GEMINI_15_PRO = "gemini-1.5-pro"
  47. MODEL_LIST = [
  48. GPT35, GPT35_0125, GPT35_1106, "gpt-3.5-turbo-16k",
  49. GPT_4o, 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,
  50. WEN_XIN, WEN_XIN_4,
  51. XUNFEI, ZHIPU_AI, MOONSHOT, MiniMax,
  52. GEMINI, GEMINI_PRO, GEMINI_15_flash, GEMINI_15_PRO,
  53. "claude", "claude-3-haiku", "claude-3-sonnet", "claude-3-opus", "claude-3-opus-20240229", "claude-3.5-sonnet",
  54. "moonshot-v1-8k", "moonshot-v1-32k", "moonshot-v1-128k",
  55. QWEN, QWEN_TURBO, QWEN_PLUS, QWEN_MAX,
  56. LINKAI_35, LINKAI_4_TURBO, LINKAI_4o
  57. ]
  58. # channel
  59. FEISHU = "feishu"
  60. DINGTALK = "dingtalk"