File size: 1,086 Bytes
196c707
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# ConversAI Environment Configuration
# Copy this file to .env and fill in your credentials

# ===========================
# LLM Provider Configuration
# ===========================

# Specify which provider to use (openai, anthropic, huggingface, lm_studio)
LLM_PROVIDER=huggingface

# OpenAI Configuration
OPENAI_API_KEY=your_openai_api_key_here
# Optional: Override default model
# LLM_MODEL=gpt-4o-mini

# Anthropic Configuration
ANTHROPIC_API_KEY=your_anthropic_api_key_here
# Optional: Override default model
# LLM_MODEL=claude-3-5-sonnet-20241022

# HuggingFace Configuration
HUGGINGFACE_API_KEY=your_huggingface_api_key_here
# Optional: Override default model
# LLM_MODEL=mistralai/Mixtral-8x7B-Instruct-v0.1

# LM Studio Configuration (for local development)
LM_STUDIO_URL=http://localhost:1234/v1/chat/completions
# LLM_MODEL=your_local_model_name

# ===========================
# Application Settings
# ===========================

# Port for local development (HF Spaces uses 7860 by default)
PORT=7860

# Enable debug mode
DEBUG=false