-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
50 lines (38 loc) 路 1.22 KB
/
Copy path.env.example
File metadata and controls
50 lines (38 loc) 路 1.22 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
# API Provider Configuration
API_PROVIDER=gemini # Options: "openai" or "gemini"
# OpenAI Configuration (if using OpenAI)
OPENAI_API_KEY=your_openai_api_key_here
# Gemini Configuration (if using Gemini)
GEMINI_API_KEY=your_gemini_api_key_here
# Vector Database Configuration (Choose one)
# For Chroma (Local)
CHROMA_PERSIST_DIRECTORY=./data/chroma_db
# For Pinecone (Cloud) - Optional
# PINECONE_API_KEY=your_pinecone_api_key
# PINECONE_ENVIRONMENT=your_pinecone_environment
# PINECONE_INDEX_NAME=legal-research-index
# HuggingFace Configuration (Optional, for alternative embeddings)
# HUGGINGFACE_API_TOKEN=your_huggingface_token
# Application Configuration
APP_NAME=Legal Research Assistant
APP_VERSION=1.0.0
LOG_LEVEL=INFO
# Chunking Configuration
CHUNK_SIZE=1000
CHUNK_OVERLAP=200
MAX_TOKENS_PER_CHUNK=1500
# Retrieval Configuration
TOP_K_RETRIEVALS=5
SIMILARITY_THRESHOLD=0.7
# Generation Configuration
MAX_OUTPUT_TOKENS=2000
TEMPERATURE=0.3
# UI Configuration
STREAMLIT_THEME=light
MAX_FILE_SIZE_MB=10
# Model Configuration - OpenAI
OPENAI_EMBEDDING_MODEL=text-embedding-3-small
OPENAI_LLM_MODEL=gpt-4-turbo-preview
# Model Configuration - Gemini
GEMINI_EMBEDDING_MODEL=models/text-embedding-004
GEMINI_LLM_MODEL=gemini-1.5-flash