does the open AI plugin direct call use completion...
# ask-ai
r
does the open AI plugin direct call use completions or responses under the hood?
t
Thanks for reaching out, luisa. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks — good question. The OpenAI plugin direct call can use either, depending on which client class is used: • If the plugin uses
openai.responses.LLM()
it uses the Responses API (recommended for direct OpenAI usage). • If it uses
openai.LLM()
it uses the Chat Completions API (chat-completions format, used for OpenAI-compatible providers and legacy code). Which integration are you using (direct OpenAI vs. an OpenAI-compatible provider) or which class do you see in your code? I can guide next steps based on that. Sources: OpenAI LLM models | LiveKit Documentation, with interactive elements
r
what’s the default value for the presence penalty for the chat completions API?
t