Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 1.54 KB

File metadata and controls

32 lines (19 loc) · 1.54 KB

Multi-document Agents

This is a LlamaIndex project bootstrapped with create-llama.

We use our multi-document agent architecture:

  • Individual agent per document capable of semantic search/summarization
  • Orchestrator agent across documents that can pick relevant subsets

This also streams all intermediate results from the agent via a custom Callback handler.

Main Files to Look At

This extends beyond the simple create-llama example. To see changes, look at the following files:

  • backend/app/utils/index.py - contains core logic for constructing + getting multi-doc agent
  • backend/app/api/routers/chat.py - contains implementation of chat endpoint + threading to stream intermediate responses.

Getting Started

First, startup the backend as described in the backend README.

Second, run the development server of the frontend as described in the frontend README.

Open http://localhost:3000 with your browser to see the result.

Learn More

To learn more about LlamaIndex, take a look at the following resources:

You can check out the LlamaIndexTS GitHub repository - your feedback and contributions are welcome!