.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
API_BASE
Model Configuration API base URL for the language model service (e.g., Ollama, OpenAI, etc.)
API_KEY
secret
API key for authentication (leave empty for services that don't require it like local Ollama)
MODEL_NAME
Model name to use for entity extraction Examples: For Ollama: ollama_chat/qwen3:30b, ollama_chat/llama3:8b For OpenAI: gpt-4, gpt-3.5-turbo…
brew install flyctl && fly launch --from https://github.com/adsharma/dspy-kg
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/adsharma/dspy-kg
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/adsharma/dspy-kg