plano/demos/multi_turn_rag_agent
2024-12-20 13:25:01 -08:00
..
arch_config.yaml Use intent model from archfc to pick prompt gateway (#328) 2024-12-20 13:25:01 -08:00
docker-compose.yaml Use intent model from archfc to pick prompt gateway (#328) 2024-12-20 13:25:01 -08:00
Dockerfile Use intent model from archfc to pick prompt gateway (#328) 2024-12-20 13:25:01 -08:00
main.py Use intent model from archfc to pick prompt gateway (#328) 2024-12-20 13:25:01 -08:00
mutli-turn-example.png Use intent model from archfc to pick prompt gateway (#328) 2024-12-20 13:25:01 -08:00
README.md Use intent model from archfc to pick prompt gateway (#328) 2024-12-20 13:25:01 -08:00
requirements.txt Use intent model from archfc to pick prompt gateway (#328) 2024-12-20 13:25:01 -08:00
run_demo.sh Use intent model from archfc to pick prompt gateway (#328) 2024-12-20 13:25:01 -08:00

Multi-Turn Agentic Demo (RAG)

This demo showcases how the Arch can be used to build accurate multi-turn RAG agent by just writing simple APIs.

Example of Multi-turn Interaction

Energy Source Q/A

Provides information about various energy sources and considerations.

  • Endpoint: /agent/energy_source
  • Parameters:
    • energy_source (str, required): A source of energy (e.g., renewable, fossil).
    • consideration (str, optional): A specific type of consideration for an energy source (e.g., cost, economic, technology).

Starting the demo

  1. Please make sure the pre-requisites are installed correctly
  2. Start Arch
    sh run_demo.sh
    
  3. Navigate to http://localhost:18080
  4. Ask "give me information about renewable energy sources"