-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.template
More file actions
39 lines (29 loc) · 1.41 KB
/
.env.template
File metadata and controls
39 lines (29 loc) · 1.41 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
# Azure OpenAI Configuration
# Get these values from Azure Portal after creating Azure OpenAI resource
# Your Azure OpenAI endpoint (e.g., https://your-resource-name.openai.azure.com/)
AZURE_OPENAI_ENDPOINT=
# Your Azure OpenAI API key (found in Azure Portal under Keys and Endpoint)
AZURE_OPENAI_KEY=
# The deployment name you created for your model (e.g., gpt-4, gpt-35-turbo)
AZURE_OPENAI_DEPLOYMENT=gpt-4
# API version (usually leave as default unless you need a specific version)
AZURE_OPENAI_API_VERSION=2024-02-15-preview
# MCP Server Configuration (usually no need to change these)
MCP_SERVER_COMMAND=uv
#MCP_SERVER_ARGS=run,python,MCP_Hardcoded_stdio.py
MCP_SERVER_ARGS=run,python,MCP_DBv2_stdio.py
#MCP_SERVER_PARAMS=--quiet
# System Prompt Configuration
# Path to the file containing the system prompt (default: system_prompt.txt)
SYSTEM_PROMPT_FILE=system_prompt.txt
# Model Parameters - Optimized for factual, grounded responses
# Temperature: 0.0-2.0 (lower = more focused/deterministic, recommended: 0.1-0.3 for factual)
TEMPERATURE=0.1
# Top-p: 0.0-1.0 (nucleus sampling, lower = more focused, recommended: 0.1-0.3 for factual)
TOP_P=0.1
# Max tokens: Maximum length of response (recommended: 500-2000)
MAX_TOKENS=1000
# Presence penalty: 0.0-2.0 (penalizes new topics, recommended: 0.0 for archives)
PRESENCE_PENALTY=0.0
# Frequency penalty: 0.0-2.0 (penalizes repetition, recommended: 0.3-0.5)
FREQUENCY_PENALTY=0.3