> ## Documentation Index
> Fetch the complete documentation index at: https://agno-v2-agui.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Chat

> Openai model example.

| Example                                                                                                             | Description                                                                                                                               |
| ------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| [Access Memories In Memory Completed Event](/examples/models/openai/chat/access-memories-in-memory-completed-event) | Steps: 1.                                                                                                                                 |
| [Openai Agent Flex Tier](/examples/models/openai/chat/agent-flex-tier)                                              | Cookbook example for `openai/chat/agent_flex_tier.py`.                                                                                    |
| [Openai Audio Input Agent](/examples/models/openai/chat/audio-input-agent)                                          | Cookbook example for `openai/chat/audio_input_agent.py`.                                                                                  |
| [Openai Audio Input And Output Multi Turn](/examples/models/openai/chat/audio-input-and-output-multi-turn)          | Cookbook example for `openai/chat/audio_input_and_output_multi_turn.py`.                                                                  |
| [Openai Audio Input Local File Upload](/examples/models/openai/chat/audio-input-local-file-upload)                  | Cookbook example for `openai/chat/audio_input_local_file_upload.py`.                                                                      |
| [Openai Audio Output Agent](/examples/models/openai/chat/audio-output-agent)                                        | Cookbook example for `openai/chat/audio_output_agent.py`.                                                                                 |
| [Openai Audio Output Stream](/examples/models/openai/chat/audio-output-stream)                                      | Cookbook example for `openai/chat/audio_output_stream.py`.                                                                                |
| [Openai Basic](/examples/models/openai/chat/basic)                                                                  | Cookbook example for `openai/chat/basic.py`.                                                                                              |
| [Openai Basic Stream Metrics](/examples/models/openai/chat/basic-stream-metrics)                                    | Cookbook example for `openai/chat/basic_stream_metrics.py`.                                                                               |
| [Custom Role Map](/examples/models/openai/chat/custom-role-map)                                                     | This is useful when using a custom model that doesn't support the default role map.                                                       |
| [Db](/examples/models/openai/chat/db)                                                                               | Openai model example.                                                                                                                     |
| [Openai Generate Images](/examples/models/openai/chat/generate-images)                                              | Cookbook example for `openai/chat/generate_images.py`.                                                                                    |
| [Openai Image Agent](/examples/models/openai/chat/image-agent)                                                      | Cookbook example for `openai/chat/image_agent.py`.                                                                                        |
| [Openai Image Agent Bytes](/examples/models/openai/chat/image-agent-bytes)                                          | Cookbook example for `openai/chat/image_agent_bytes.py`.                                                                                  |
| [Openai Image Agent With Memory](/examples/models/openai/chat/image-agent-with-memory)                              | Cookbook example for `openai/chat/image_agent_with_memory.py`.                                                                            |
| [Knowledge](/examples/models/openai/chat/knowledge)                                                                 | Add content to the knowledge.                                                                                                             |
| [Memory](/examples/models/openai/chat/memory)                                                                       | Steps: 1.                                                                                                                                 |
| [Openai Metrics](/examples/models/openai/chat/metrics)                                                              | Cookbook example for `openai/chat/metrics.py`.                                                                                            |
| [Pdf Input File Upload](/examples/models/openai/chat/pdf-input-file-upload)                                         | In this example, we upload a PDF file to Google GenAI directly and then use it as an input to an agent.                                   |
| [Openai Pdf Input Local](/examples/models/openai/chat/pdf-input-local)                                              | Cookbook example for `openai/chat/pdf_input_local.py`.                                                                                    |
| [Openai Pdf Input Url](/examples/models/openai/chat/pdf-input-url)                                                  | Cookbook example for `openai/chat/pdf_input_url.py`.                                                                                      |
| [Openai Reasoning O3 Mini](/examples/models/openai/chat/reasoning-o3-mini)                                          | Cookbook example for `openai/chat/reasoning_o3_mini.py`.                                                                                  |
| [Retry](/examples/models/openai/chat/retry)                                                                         | Example demonstrating how to set up retries with OpenAI Chat.                                                                             |
| [Openai Structured Output](/examples/models/openai/chat/structured-output)                                          | Cookbook example for `openai/chat/structured_output.py`.                                                                                  |
| [Text To Speech Agent](/examples/models/openai/chat/text-to-speech-agent)                                           | This script demonstrates how to use an agent to generate speech from a given text input and optionally save it to a specified audio file. |
| [Tool Use](/examples/models/openai/chat/tool-use)                                                                   | Openai model example.                                                                                                                     |
| [Openai Verbosity Control](/examples/models/openai/chat/verbosity-control)                                          | Cookbook example for `openai/chat/verbosity_control.py`.                                                                                  |
| [Openai With Retries](/examples/models/openai/chat/with-retries)                                                    | Cookbook example for `openai/chat/with_retries.py`.                                                                                       |
