LLM Frameworks
Anthropic SDK
Use Anthropic SDK through Keywords AI
This section is only for Keywords AI gateway users.
Pros and Cons
Pros
-
You can use the
Thinking
feature ofClaude 3.7 Sonnet
-
2 lines of code change to integrate
Cons
- Can’t call
prompts
related params with this integration- You have to use another integration to use
prompts
related features
- You have to use another integration to use
- Can’t use proxy params like
fallback
,load_balancing
…- Use another integration to use these features
To use Keywords AI parameters, you can pass them in the metadata
parameter. In the above example, customer_identifier
is a Keywords AI parameter. These parameters will take precedence over the Anthropic parameters if they are conflicting.
Was this page helpful?