plano/demos/getting_started/weather_forecast
Adil Hafeez 5a4f8cb321
Standardize demo configs and CLI templates to v0.3.0
- Update all demo config files to version v0.3.0
- Rename llm_providers → model_providers across all configs
- Modernize listener format from object to array style
  (e.g. listeners: [{type: model, name:, port:}])
- Replace chatbot_ui with AnythingLLM in 6 docker-compose files
- Remove prometheus/grafana services from llm_gateway and
  preference_based_routing docker-compose files
- Add tracing: random_sampling: 100 to configs that lacked it
- Update 3 CLI init templates (coding_agent_routing,
  preference_aware_routing, conversational_state_v1_responses)
- Fix test_init.py assertion for model_providers key

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 01:43:59 -08:00
..
hurl_tests Clean up dead demos and restructure directory layout 2026-02-15 01:43:31 -08:00
config.yaml Standardize demo configs and CLI templates to v0.3.0 2026-02-15 01:43:59 -08:00
docker-compose.yaml Standardize demo configs and CLI templates to v0.3.0 2026-02-15 01:43:59 -08:00
Dockerfile Clean up dead demos and restructure directory layout 2026-02-15 01:43:31 -08:00
main.py Clean up dead demos and restructure directory layout 2026-02-15 01:43:31 -08:00
pyproject.toml Clean up dead demos and restructure directory layout 2026-02-15 01:43:31 -08:00
README.md Clean up dead demos and restructure directory layout 2026-02-15 01:43:31 -08:00
run_demo.sh Clean up dead demos and restructure directory layout 2026-02-15 01:43:31 -08:00
uv.lock Clean up dead demos and restructure directory layout 2026-02-15 01:43:31 -08: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. Navigate to http://localhost:18080/

  5. You can type in queries like "how is the weather?"

Observability

Plano gateway publishes stats endpoint at http://localhost:19901/stats. In this demo we are using prometheus to pull stats from Plano and we are using grafana to visalize the stats in dashboard. To see grafana dashboard follow instructions below,

  1. Start grafana and prometheus using following command
    docker compose --profile monitoring up
    
  2. Navigate to http://localhost:3000/ to open grafana UI (use admin/grafana as credentials)
  3. From grafana left nav click on dashboards and select "Intelligent Gateway Overview" to view Plano gateway stats

Here is a sample interaction, image

Tracing

To see a tracing dashboard follow instructions below,

  1. For Jaeger, you can either use the default run_demo.sh script or run the following command:
sh run_demo.sh jaeger
  1. For Logfire, first make sure to add a LOGFIRE_API_KEY to the .env file. You can either use the default run_demo.sh script or run the following command:
sh run_demo.sh logfire
  1. For Signoz, you can either use the default run_demo.sh script or run the following command:
sh run_demo.sh signoz

If using Jaeger, navigate to http://localhost:16686/ to open Jaeger UI

If using Signoz, navigate to http://localhost:3301/ to open Signoz UI

If using Logfire, navigate to your logfire dashboard that you got the write key from to view the dashboard

Stopping Demo

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