Supported SDKs
LlamaIndex
Use LlamaIndex through Keywords AI
You can use the chat completion endpoint with LlamaIndex’s OpenAI
LLM under two lines of code change.
Python
In complete
method, you can pass in any OpenAI parameters.
To use Keywords AI parameters, add extra_body
argument and specify the value in a dictionary. In the above example, customer_identifier
is the Keywords AI parameter. These parameters will take precedence over the OpenAI parameters if they are conflicting.