This section provides an overview of how you can use OpenAI models in EVA.
Chat Completion UDFs#
To create a chat completion UDF in EVA, use the following SQL command:
CREATE UDF IF NOT EXISTS OpenAIChatCompletion
EVA supports the following models for chat completion task:
The chat completion UDF can be composed in interesting ways with other UDFs. Please refer to the ChatGPT notebook for an example of combining chat completion task with caption extraction and video summarization models from Hugging Face and feeding it to chat completion to ask questions about the results.