OpenAI
Azure OpenAI examples for runs, storage, knowledge, structured output, and tools.
| Example | Description |
|---|---|
| Azure Basic | Create a minimal AzureOpenAI agent and print sync, async, and streamed responses. |
| Db | Persist AzureOpenAI agent sessions in Postgres and add history to follow-up runs. |
| Knowledge | Load a recipe PDF into PgVector with AzureOpenAIEmbedder and query it from an agent. |
| Azure Structured Output | Return a typed MovieScript from an AzureOpenAI agent with output_schema. |
| Tool Use | Stream an AzureOpenAI agent's response as it calls WebSearchTools. |