-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
35 lines (29 loc) · 984 Bytes
/
env.example
File metadata and controls
35 lines (29 loc) · 984 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
29
30
31
32
33
34
35
# Azure OpenAI Configuration
AZURE_OPENAI_ENDPOINT=https://your-resource.openai.azure.com/
AZURE_OPENAI_DEPLOYMENT_NAME=gpt-4
AZURE_OPENAI_API_KEY=your_openai_api_key_here
AZURE_OPENAI_API_VERSION=2024-02-15-preview
# Azure Document Intelligence
AZURE_DOCUMENT_INTELLIGENCE_ENDPOINT=https://your-resource.cognitiveservices.azure.com/
AZURE_DOCUMENT_INTELLIGENCE_API_KEY=your_document_intelligence_key_here
# Azure Blob Storage
AZURE_STORAGE_ACCOUNT=yourstorageaccount
AZURE_STORAGE_CONNECTION_STRING=DefaultEndpointsProtocol=https;AccountName=yourstorageaccount;AccountKey=your_account_key;EndpointSuffix=core.windows.net
# API Configuration
API_KEY=your_api_key_here
API_HOST=0.0.0.0
API_PORT=8000
API_DEBUG=false
# Processing Configuration
MAX_FILE_SIZE_MB=50
MAX_TOKENS=128000
MAX_PAGES=15
INPUT_CONTAINER=bronze
OUTPUT_CONTAINER=silver
PROCESSED_CONTAINER=gold
# Logging
LOG_LEVEL=INFO
LOG_FORMAT=json
# Security
ENABLE_API_KEY_AUTH=true
ALLOWED_FILE_TYPES=pdf,doc,docx,txt