OpenAI · Arazzo Workflow
OpenAI List Models then Create Chat Completion
Version 1.0.0
Discover an available model, then generate a chat completion with it.
Provider
Workflows
list-models-then-chat
List models and create a chat completion with a selected model.
Retrieves the catalog of available models so a caller can confirm the target model exists, then sends a single user message to the chat completions endpoint and returns the assistant reply.
1
listModels
listModels
List the models available to the authenticated account.
2
createChat
createChatCompletion
Create a chat completion using the selected model and the supplied user message.