plano/demos/multi_turn_rag_agent
Adil Hafeez 2c67fa3bc0
Fix llm_routing provider element (#382)
* Fix llm_routing provider element

We replaced provider with provider_interface to make it more clear to developers about provider api/backend being used. During that upgrade we removed support for mistral in provider to encourage developers to start using provider_interface. But this demo was not updated to use provider_interface as it was using mistral. This code change fixes it by replacing provider with provider_interface.

Signed-off-by: Adil Hafeez <adil.hafeez@gmail.com>

* fix the path

* move

* add more details

* fix

* Apply suggestions from code review

* fix

* fix

---------

Signed-off-by: Adil Hafeez <adil.hafeez@gmail.com>
2025-01-24 16:34:11 -08:00
..
arch_config.yaml Fix llm_routing provider element (#382) 2025-01-24 16:34:11 -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"