Skip to main content
Knowledge auto-detects file types and selects the right reader. You can also specify a reader explicitly for more control.
documents.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export your OpenAI API key

4

Run Qdrant

5

Run the example

Save the code above as documents.py, then run:
Full source: cookbook/07_knowledge/05_integrations/readers/01_documents.py