mirror of
https://github.com/katanemo/plano.git
synced 2026-05-15 11:02:39 +02:00
Add workflow logic for weather forecast demo (#24)
This commit is contained in:
parent
7ef68eccfb
commit
33f9dd22e6
32 changed files with 1902 additions and 459 deletions
15
demos/weather-forecast/README.md
Normal file
15
demos/weather-forecast/README.md
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# Weather forecasting
|
||||
This demo shows how you can use intelligent prompt gateway to provide realtime weather forecast.
|
||||
|
||||
# Startig the demo
|
||||
1. Create `.env` file and set OpenAI key using env var `OPENAI_API_KEY`
|
||||
1. Start services
|
||||
```sh
|
||||
$ docker compose up
|
||||
```
|
||||
1. Navigate to http://localhost:18080/
|
||||
1. You can type in queries like "how is the weather in Seattle"
|
||||
1. You can also ask follow up questions like "show me sunny days"
|
||||
2. To see metrics navigate to "http://localhost:3000/" (use admin/grafana for login)
|
||||
1. Open up dahsboard named "Intelligent Gateway Overview"
|
||||
2. On this dashboard you can see reuqest latency and number of requests
|
||||
Loading…
Add table
Add a link
Reference in a new issue