-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.env
96 lines (65 loc) · 2.98 KB
/
template.env
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# ========================
# Security Configuration
# ========================
# Key unique to Angelos used to verify tokens
API_ENDPOINT_KEY=
# Key shared by Agnelos and frontend applications to limit requests
ANGELOS_APP_API_KEY=
# ========================
# Development Configuration
# ========================
# Enable test mode for development and testing purposes.
TEST_MODE=true
# Control whether to delete existing data before initialization.
DELETE_BEFORE_INIT=false
# Paths to folders containing the knowledge JSON objects
KNOWLEDGE_BASE_FOLDER=./knowledge/documents
QA_FOLDER=./knowledge/sample-correspondences
# ========================
# Weaviate Database Configuration
# ========================
WEAVIATE_URL=weaviate
WEAVIATE_PORT=8080
# ========================
# GPU Model Configuration
# ========================
# Enable or disable Ollama
USE_OLLAMA=false
# GPU URL and credentials for connecting to Ollama (LLaMA) model server.
GPU_URL=https://gpu.example.com/ollama/api/ # Replace with actual GPU URL
GPU_USER=username_here # Your GPU server username
GPU_PASSWORD=secure_password_here # Your GPU server password
# Specify the GPU model to be used.
GPU_MODEL=llama3.1:70b # Example: LLaMA model version 3.1, 70B parameters
# Embedding model for Ollama
GPU_EMBED_MODEL=snowflake-arctic-embed:latest # Replace with preferred embedding model
# ========================
# Cohere Configuration
# ========================
# API Key for accessing Cohere's API services.
COHERE_API_KEY=your_cohere_api_key_here
# Multilingual and English-specific API keys for reranking using Azure
COHERE_API_KEY_MULTI=your_multilingual_cohere_key_here # Optional: Multilingual support key
COHERE_API_KEY_EN=your_english_cohere_key_here # Optional: English-specific support key
# ========================
# OpenAI Configuration
# ========================
# API Key for accessing OpenAI services (standard configuration).
OPENAI_API_KEY=your_openai_api_key_here
# Specify the OpenAI embedding model to use.
OPENAI_EMBEDDING_MODEL=text-embedding-ada-002 # Default embedding model (1536 dimensions)
# ========================
# Azure OpenAI Configuration
# ========================
# Enable or disable using Azure-hosted OpenAI models.
USE_AZURE=true
# Azure API key for authentication with Azure OpenAI.
AZURE_OPENAI_API_KEY=your_azure_openai_api_key_here
# Deployment name for Azure-hosted OpenAI completion model.
AZURE_OPENAI_DEPLOYMENT=gpt-4o-mini # Example deployment name for a completion model
# Deployment name for Azure-hosted OpenAI embedding model.
AZURE_OPENAI_EMBEDDING_DEPLOYMENT=text-embedding-3-large # Example deployment name for an embedding model
# Azure endpoint for your OpenAI resource (typically in the form of a URL).
AZURE_OPENAI_ENDPOINT=https://your_azure_openai_endpoint_here # Replace with actual endpoint URL
# Specify the API version for Azure OpenAI (refer to Azure documentation for latest version).
AZURE_OPENAI_VERSION=2023-03-15-preview # Example API version for Azure OpenAI