Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

claude-3-sonnet-20240229 is not supported #7324

Closed
ayush4921 opened this issue Mar 7, 2024 · 4 comments · Fixed by deepset-ai/haystack-core-integrations#545
Closed

claude-3-sonnet-20240229 is not supported #7324

ayush4921 opened this issue Mar 7, 2024 · 4 comments · Fixed by deepset-ai/haystack-core-integrations#545

Comments

@ayush4921
Copy link

ayush4921 commented Mar 7, 2024

Describe the bug
When using claude-3-sonnet-20240229 as my generator, I get the following error:
Error message

aise Exception(
Exception: Exception while running node 'generator': Anthropic returned an error.
Status code: 400
Response body: {"type":"error","error":{"type":"invalid_request_error","message":""claude-3-sonnet-20240229" is not supported on this API. Please use the Messages API instead."}}

Expected behavior
I think the way anthropic API receives information might have changed.

System:

  • OS:
  • GPU/CPU:
  • Haystack version (commit or version number): 1.25.0
  • DocumentStore:
  • Reader:
  • Retriever:

Tasks

Preview Give feedback
No tasks being tracked yet.
@vblagoje
Copy link
Member

vblagoje commented Mar 7, 2024

Hey there @ayush4921 we'll add the support for Claude 3 models in the coming days. If you want to play with it right now, use the branch for Claude 3 deepset-ai/haystack-core-integrations#545

@ayush4921
Copy link
Author

Is the support going to come to haystack 1.xx as well?

@ayush4921
Copy link
Author

Hey! Just wanted to ask about Anthropic/Amazon bedrock messages API support for haystack version 1.x. Will that be added, or is it reserved for haystack 2.x?

@vblagoje
Copy link
Member

Most likely not unfortunately!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants