mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 06:19:43 +08:00
53 lines
1.6 KiB
Plaintext
53 lines
1.6 KiB
Plaintext
# ============================================
|
|
# DeepTutor Environment Template
|
|
# ============================================
|
|
# Copy this file to `.env` and fill in your values.
|
|
# Core runtime settings are grouped as:
|
|
# ports / llm / embedding / search / docker-cloud / security
|
|
|
|
# --------------------------------------------
|
|
# Ports
|
|
# --------------------------------------------
|
|
BACKEND_PORT=8001
|
|
FRONTEND_PORT=3782
|
|
|
|
# --------------------------------------------
|
|
# LLM (Required)
|
|
# --------------------------------------------
|
|
LLM_BINDING=openai
|
|
LLM_MODEL=gpt-4o-mini
|
|
LLM_API_KEY=sk-xxx
|
|
LLM_HOST=https://api.openai.com/v1
|
|
LLM_API_VERSION=
|
|
|
|
# --------------------------------------------
|
|
# Embedding (Required for knowledge base features)
|
|
# --------------------------------------------
|
|
EMBEDDING_BINDING=openai
|
|
EMBEDDING_MODEL=text-embedding-3-large
|
|
EMBEDDING_API_KEY=sk-xxx
|
|
EMBEDDING_HOST=https://api.openai.com/v1
|
|
EMBEDDING_DIMENSION=3072
|
|
EMBEDDING_API_VERSION=
|
|
|
|
# --------------------------------------------
|
|
# Web Search (Optional)
|
|
# --------------------------------------------
|
|
SEARCH_PROVIDER=
|
|
SEARCH_API_KEY=
|
|
SEARCH_BASE_URL=
|
|
|
|
# --------------------------------------------
|
|
# Docker / Cloud deployment (Optional)
|
|
# --------------------------------------------
|
|
# Public backend URL used by the frontend when deployed remotely.
|
|
NEXT_PUBLIC_API_BASE_EXTERNAL=
|
|
# Alternative direct API base URL.
|
|
NEXT_PUBLIC_API_BASE=
|
|
|
|
# --------------------------------------------
|
|
# Security / Networking (Optional)
|
|
# --------------------------------------------
|
|
# Keep this false in production.
|
|
DISABLE_SSL_VERIFY=false
|