Ingest files as a context source
Ingest files as a context source in Maxim to enable RAG context for your GenAI application.
Maxim allows you to upload various document formats (.pdf, .docx, .csv, .txt, .md) and automatically creates embeddings for use as context in your applications.
Navigate to Context Sources
Navigate to the Context Sources section in your workspace and click on the Plus icon.
Select Files source type
Select “Files” as your context source type.
Upload your documents
Drag and drop your files or click “Browse files” and select files from your system. Supported formats:
- PDF documents (.pdf)
- Word documents (.docx)
- CSV files (.csv)
- Text files (.txt)
- Markdown files (.md)
Wait for processing
Wait for the files to upload and for embeddings to be generated. The status indicator will show progress.
Use your context source
Once processing is complete, your files are ready to be used as context. You can now reference this context source in agent simulation.
For information on using context sources in agentic simulations and conversations, see our guide on using context in prompts and workflows.