plano/demos/getting_started/weather_forecast
2026-03-18 17:58:20 -07:00
..
hurl_tests Overhaul demos directory: cleanup, restructure, and standardize configs (#760) 2026-02-17 03:09:28 -08:00
config.yaml Run plano natively by default (#744) 2026-03-05 07:35:25 -08:00
docker-compose.yaml Run demos without Docker (#809) 2026-03-11 12:49:36 -07:00
Dockerfile Overhaul demos directory: cleanup, restructure, and standardize configs (#760) 2026-02-17 03:09:28 -08:00
main.py Overhaul demos directory: cleanup, restructure, and standardize configs (#760) 2026-02-17 03:09:28 -08:00
pyproject.toml add output filter chain (#822) 2026-03-18 17:58:20 -07:00
README.md Run demos without Docker (#809) 2026-03-11 12:49:36 -07:00
run_demo.sh Run demos without Docker (#809) 2026-03-11 12:49:36 -07:00
start_agents.sh Run demos without Docker (#809) 2026-03-11 12:49:36 -07:00
uv.lock add output filter chain (#822) 2026-03-18 17:58:20 -07:00

Function calling

This demo shows how you can use Plano's core function calling capabilities.

Starting the demo

  1. Please make sure the pre-requisites are installed correctly

  2. Start Plano

  3. sh run_demo.sh
    
  4. 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, image

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

Stopping Demo

  1. To end the demo, run the following command:
    sh run_demo.sh down