forked from HKUDS/DeepTutor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
82 lines (63 loc) · 2.89 KB
/
.env.example
File metadata and controls
82 lines (63 loc) · 2.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# ============================================================================
# Deep-Tutor Environment Configuration
# Copy this file to .env and fill in your API keys and settings.
# All API keys should be kept confidential and never committed to version control.
# You can adjust the max_token parameters in DeepTutor\config\agents.yaml.
# ============================================================================
# ============================================================================
# LLM (Large Language Model) Configuration
# ============================================================================
# Configure the main AI model used for reasoning, generation, and conversation.
# Supports OpenAI-compatible APIs (OpenAI, Azure OpenAI, DeepSeek, Qwen, etc.)
# LLM service provider type
# Options: openai, azure_openai, ollama, lollms
LLM_BINDING=openai
# Model name for the LLM
LLM_MODEL=
# LLM API endpoint URL
LLM_BINDING_HOST=
# LLM API authentication key
LLM_BINDING_API_KEY=
# Disable SSL certificate verification (set 'true' for self-signed certificates)
DISABLE_SSL_VERIFY=false
# ============================================================================
# Embedding Model Configuration
# ============================================================================
# Configure the text embedding model used for semantic search and RAG.
# Required for knowledge base functionality.
# Embedding service provider type
# Options: openai, azure_openai, ollama, lollms
EMBEDDING_BINDING=openai
# Embedding model name
# Examples: text-embedding-3-large, text-embedding-3-small, text-embedding-ada-002
EMBEDDING_MODEL=text-embedding-3-large
# Embedding vector dimension
EMBEDDING_DIM=3072
# Embedding API endpoint URL
EMBEDDING_BINDING_HOST=
# Embedding API authentication key
EMBEDDING_BINDING_API_KEY=
# ============================================================================
# TTS (Text-to-Speech) Configuration (Optional)
# ============================================================================
# Configure voice synthesis for the Co-Writer(Interactive IdeaGen) narration feature.
# Also remember to choose a voice in DeepTutor\config\main.yaml.
# TTS model name
TTS_MODEL=
# TTS API endpoint URL
TTS_URL=
# TTS API authentication key
TTS_API_KEY=
# ============================================================================
# Web Search Configuration
# ============================================================================
# Configure external search APIs for research features.
# Perplexity API key for web search functionality
# Get your API key at: https://www.perplexity.ai/settings/api
PERPLEXITY_API_KEY=
# ============================================================================
# Logging Configuration
# ============================================================================
# Log level for RAG tool module
# Options: DEBUG, INFO, WARNING, ERROR
RAG_TOOL_MODULE_LOG_LEVEL=INFO