Use LlamaIndex through Keywords AI
OpenAI
LLM under two lines of code change.
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.