Configuration Guide

Environment variables (.env.local)

  • GEMINI_API_KEY, OPENAI_API_KEY, OPENROUTER_API_KEY, etc.
  • Qdrant: QDRANT_HOST, QDRANT_API_KEY (optional).
  • Custom OpenAI-compatible endpoint: CUSTOM_OPENAI_ENDPOINT if using Groq/Together/vLLM proxies.

In-app Environment view

  • Set API keys and endpoints (OpenAI, Gemini, OpenRouter, vLLM host, Ollama, custom).
  • Toggle vector DB usage and embedding model/provider.
  • Concurrency controls: maxConcurrent, teacherConcurrency, judgeConcurrency.
  • Chunking: choose standard vs semantic; tune chunk counts and overlaps.
  • Judge thresholds and model selection (teacher/judge/embedding models).

Vector DB (Qdrant)

  • Configure host/API key; ensure collection vector size matches embedding model.
  • Enable/disable sync per action; view sync status in Embeddings view.

Profiles

  • Choose built-in dataset profiles or register custom ones (data/datasetProfiles.ts) to enforce schema/metadata.