mirror of
https://github.com/katanemo/plano.git
synced 2026-04-25 00:36:34 +02:00
| .. | ||
| hurl_tests | ||
| config.yaml | ||
| docker-compose.yaml | ||
| Dockerfile | ||
| main.py | ||
| pyproject.toml | ||
| README.md | ||
| run_demo.sh | ||
| start_agents.sh | ||
| uv.lock | ||
Function calling
This demo shows how you can use Plano's core function calling capabilities.
Starting the demo
-
Please make sure the pre-requisites are installed correctly
-
Start Plano
-
sh run_demo.sh -
Test with curl:
curl http://localhost:10000/v1/chat/completions \ -H "Content-Type: application/json" \ -d '{"model": "gpt-4o", "messages": [{"role": "user", "content": "how is the weather in San Francisco?"}]}'
Here is a sample interaction,
Using the Chat UI and Tracing (optional)
To start AnythingLLM (chat UI) and other optional services, pass --with-ui:
sh run_demo.sh --with-ui
- Navigate to http://localhost:3001/ for AnythingLLM
- Navigate to http://localhost:16686/ for Jaeger tracing UI
Stopping Demo
- To end the demo, run the following command:
sh run_demo.sh down