ai-shifu / ChatALL

Concurrently chat with ChatGPT, Bing Chat, Bard, Alpaca, Vicuna, Claude, ChatGLM, MOSS, 讯飞星火, 文心一言 and more, discover the best answers
http://chatall.ai
Apache License 2.0
15.12k stars 1.63k forks source link

[FEAT] add select method for choose Claude2 or Claude2.1 #639

Open johnfelipe opened 10 months ago

johnfelipe commented 10 months ago

Is your feature request related to a problem? / 你想要的功能和什么问题相关?

I know I can change code for change v2 to v2.1 and build source code, but is possible in main branch put an option for select one of those models?

Describe the solution you'd like. / 你想要的解决方案是什么?

Form for choose or select one of 2 models

Describe alternatives you've considered. / 你考虑过的其他方案是什么?

No response

Additional context / 其他信息

No response

samanhappy commented 10 months ago

When using the claude-2 model, the response received is:

{error: {type: "permission_error", message: "Invalid model", code: "model_not_allowed"}} .

This indicates that usage of the claude-2 model is restricted by Claude.

johnfelipe commented 10 months ago

I have pay account may be can test How can test this kind of feature for select v2 or v2.1?

El mié, 29 nov 2023, 3:50 a. m., samanhappy @.***> escribió:

When using the claude-2 model, the response received is:

{error: {type: "permission_error", message: "Invalid model", code: "model_not_allowed"}} .

This indicates that usage of the claude-2 model is restricted by Claude.

— Reply to this email directly, view it on GitHub https://github.com/sunner/ChatALL/issues/639#issuecomment-1831466821, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADIWFAXKBKDPJ6PSOE34XLYG3ZOLAVCNFSM6AAAAAA72C72U6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZRGQ3DMOBSGE . You are receiving this because you authored the thread.Message ID: @.***>

samanhappy commented 10 months ago

If you want to test using your account, follow these steps

  1. clone the repository
  2. change claude-2.1 to claude-2 in the ClaudeAIBot.js file
  3. run and test according to https://github.com/sunner/ChatALL#run

PS: I have consulted Anthropic about the use of claude-2, but there hasn't been a response as of now.