Skip to main content
basic_examples.py
The example imports this helper module from the same directory:
paths.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export your OpenAI API key

4

Clone Agno

Clone the repository and run the remaining commands from its root:
5

Install FFmpeg

Install the FFmpeg system package required for the MP4-to-VTT example and verify it is available:
6

Run the example

Run the example from the repository root:
This entry point runs both the basic and OCR examples.
Full source: cookbook/91_tools/docling_tools/basic_examples.py