-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.env.example
More file actions
28 lines (21 loc) · 1005 Bytes
/
Copy path.env.example
File metadata and controls
28 lines (21 loc) · 1005 Bytes
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
# LLM API Configuration for Prompt Engineering Features
# Required: Set your API key
# OPENAI_API_KEY=your_api_key_here
# Optional: Custom API endpoint (leave empty for OpenAI default)
# LLM_API_URL=https://api.deepseek.com/v1/chat/completions
# Optional: Model name (default: gpt-3.5-turbo)
# LLM_MODEL=deepseek-chat
# Example configurations:
# DeepSeek (Recommended - cost-effective)
# OPENAI_API_KEY=sk-your-deepseek-key
# LLM_API_URL=https://api.deepseek.com/v1/chat/completions
# LLM_MODEL=deepseek-chat
# OpenAI (Default)
# OPENAI_API_KEY=sk-your-openai-key
# Azure OpenAI
# OPENAI_API_KEY=your-azure-key
# LLM_API_URL=https://your-resource.openai.azure.com/openai/deployments/your-deployment/chat/completions?api-version=2023-12-01-preview
# LLM_MODEL=gpt-35-turbo
# Security Note:
# This API key is used for the prompt engineering playground and practice modes only.
# The application implements rate limiting (10 requests/minute, 50/hour per IP) and request validation to minimize abuse.