mirror of
https://github.com/katanemo/plano.git
synced 2026-04-25 00:36:34 +02:00
refactor demos (#398)
This commit is contained in:
parent
2bd61d628c
commit
b3c95a6698
93 changed files with 338 additions and 1042 deletions
22
demos/samples_python/multi_turn_rag_agent/README.md
Normal file
22
demos/samples_python/multi_turn_rag_agent/README.md
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# 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.
|
||||
|
||||

|
||||
|
||||
### 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](https://github.com/katanemo/arch/?tab=readme-ov-file#prerequisites) are installed correctly
|
||||
2. Start Arch
|
||||
```sh
|
||||
sh run_demo.sh
|
||||
```
|
||||
3. Navigate to http://localhost:18080
|
||||
4. Ask "give me information about renewable energy sources"
|
||||
Loading…
Add table
Add a link
Reference in a new issue