HITL-KG / .env.example
avojarot's picture
Upload 14 files
3f48755 verified
# HITL-KG Medical Reasoning System
# Environment Configuration
# Copy this to .env and fill in your values
# ============================================================================
# LLM Configuration
# ============================================================================
# OpenAI API Key (required for GPT-4 reasoning)
# Get your key at: https://platform.openai.com/api-keys
OPENAI_API_KEY = ""
# HuggingFace Token (optional, for private models)
# Get your token at: https://huggingface.co/settings/tokens
HF_TOKEN=hf_your-token-here
# ============================================================================
# Server Configuration
# ============================================================================
# Server port (default: 7860 for HuggingFace Spaces compatibility)
PORT=7860
# Debug mode (set to false in production)
DEBUG=false
# ============================================================================
# Model Configuration (Advanced)
# ============================================================================
# OpenAI model to use
OPENAI_MODEL=gpt-4o-mini
# Local model name (when using local provider)
LOCAL_MODEL=microsoft/DialoGPT-medium
# Maximum tokens for generation
MAX_TOKENS=2048
# Temperature for generation (0.0-1.0)
TEMPERATURE=0.7