plano/demos/samples_java/weather_forcecast_service
2025-09-15 18:13:27 -07:00
..
.settings Salanap/java debug ai (#416) 2025-03-04 12:49:34 -08:00
.vscode better model names (#517) 2025-07-11 16:42:16 -07:00
src/main add support for v1/messages and transformations (#558) 2025-09-10 07:40:30 -07:00
.classpath Salanap/java debug ai (#416) 2025-03-04 12:49:34 -08:00
.project use passed in model name in chat completion request (#445) 2025-03-21 15:56:17 -07:00
arch_config.yaml better model names (#517) 2025-07-11 16:42:16 -07:00
docker-compose.yaml Salanap/java debug ai (#416) 2025-03-04 12:49:34 -08:00
Dockerfile Salanap/java debug ai (#416) 2025-03-04 12:49:34 -08:00
pom.xml Salanap/java debug ai (#416) 2025-03-04 12:49:34 -08:00
README.md fixed PR based on feedback 2025-09-15 18:13:27 -07:00
run_demo.sh refactor demos (#398) 2025-02-07 18:45:42 -08:00

Weather Forecast Service Demo (Java)

This demo shows how to run the Weather Forecast Service using Arch Gateway and Docker Compose.

Prerequisites

  • Docker & Docker Compose
  • archgw CLI installed and available in your PATH
  • Set your OpenAI API key in your environment: export OPENAI_API_KEY=your-key-here

Usage

Start the Demo

./run_demo.sh

This will:

  1. Check for a .env file. If not present, it will create one with your OPENAI_API_KEY.
  2. Start Arch Gateway using arch_config.yaml.
  3. Start the Network Agent and related services using Docker Compose.

Stop the Demo

./run_demo.sh down

This will:

  1. Stop Docker Compose services.
  2. Stop Arch Gateway.

Notes

  • Make sure your OPENAI_API_KEY is set in your environment before running the demo.
  • The script will create a .env file if it does not exist.
  • All services are started/stopped using the provided shell script for convenience.