You can use the chat completion endpoint with Anthropic SDK under two lines of code change.

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.