- Implemented new gRPC service `AIService` in `proto/ai/v1/ai.proto` for handling natural language queries. - Generated Go code for the gRPC service and messages in `gen/ai/v1/`. - Created `services/ai-gateway/` directory structure with necessary files for the service. - Added configuration loading and structured logging. - Implemented domain logic for intent parsing and interaction with Home Assistant. - Established outbound adapters for Ollama and Home Assistant with mTLS support. - Updated `go.work` to include the new service and maintain existing dependencies. - Modified `discord-bot` to use the new `ai-gateway` for AI interactions. - Added deployment manifest for Kubernetes and CI/CD configuration for building and deploying the service.
12 lines
265 B
Plaintext
12 lines
265 B
Plaintext
GRPC_PORT=50052
|
|
OLLAMA_URL=http://192.168.7.96:11434
|
|
OLLAMA_MODEL=llama3
|
|
OLLAMA_TIMEOUT=30s
|
|
HA_GATEWAY_ADDR=localhost:50051
|
|
HA_GATEWAY_SERVER_NAME=ha-gateway.home-services.svc.cluster.local
|
|
TLS_DIR=
|
|
OTEL_ENDPOINT=
|
|
LOG_LEVEL=info
|
|
LOG_FORMAT=text
|
|
LIGHT_CACHE_TTL=60s
|