adding support for generic AI provider (OpenAI compatible)
All checks were successful
Recommender Build and Deploy (internal) / Build Recommender Image (push) Successful in 5m37s
Recommender Build and Deploy (internal) / Deploy Recommender (internal) (push) Successful in 34s

This commit is contained in:
2026-03-30 19:58:14 -03:00
parent 88c839e768
commit 77757ace5e
7 changed files with 45 additions and 20 deletions

View File

@@ -3,4 +3,14 @@
# In production / Docker, supply these as environment variables.
DATABASE_URL=postgres://user:password@localhost:5432/recommender
# AI provider selection: OPENAI (default) or GENERIC
AI_PROVIDER=OPENAI
# OpenAI provider settings (used when AI_PROVIDER=OPENAI)
OPENAI_API_KEY=your-openai-api-key-here
# Generic provider settings (used when AI_PROVIDER=GENERIC)
PROVIDER_URL=https://your-provider.example.com/v1
BEARER_TOKEN=your-bearer-token
MODEL_NAME=your-model-name