client.agent object allows you to interact with VLM Run’s Orion Agents for multi-modal chat completions.
Chat Completions
Generate responses from the agent using the chat completions:Image Analysis
Analyze images using the agent:Video Analysis
Analyze videos using the agent:Structured Outputs
Get structured JSON responses using Pydantic schemas:Document Analysis
Analyze documents and PDFs:SDK Reference
client.agent.completions.create()
Create a chat completion with the agent.
Parameters:
Returns:
ChatCompletionResponse