-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy path.env.sample
106 lines (71 loc) · 2.46 KB
/
.env.sample
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
97
98
99
100
101
102
103
104
105
106
# Azure OpenAI Model Names - Make sure the deployed models have the same names as below
AZURE_OPENAI_MODEL=gpt-4
AZURE_OPENAI_EMBEDDING_MODEL=text-embedding-ada-002
AZURE_OPENAI_MODEL_VISION=gpt4v
# Azure OpenAI Resource for Embedding Model
AZURE_OPENAI_EMBEDDING_MODEL_RESOURCE=
AZURE_OPENAI_EMBEDDING_MODEL_RESOURCE_KEY=
# Azure OpenAI Principal Resource and Key for GPT-4-Turbo and GPT-4-Vision
### NOTE: In every AOAI resource, there needs to be 2 models deployed: GPT-4-Turbo named 'gpt-4', and GPT-4 Vision named `gpt4v'
AZURE_OPENAI_RESOURCE=""
AZURE_OPENAI_KEY=""
# Additional Azure OpenAI Resources for multi-threaded Ingestion
### NOTE: In every AOAI resource, there needs to be 2 models deployed: GPT-4-Turbo named 'gpt-4', and GPT-4 Vision named `gpt4v'
AZURE_OPENAI_RESOURCE_1=
AZURE_OPENAI_KEY_1=
AZURE_OPENAI_RESOURCE_2=
AZURE_OPENAI_KEY_2=
AZURE_OPENAI_RESOURCE_3=
AZURE_OPENAI_KEY_3=
AZURE_OPENAI_RESOURCE_4=
AZURE_OPENAI_KEY_4=
AZURE_OPENAI_RESOURCE_5=
AZURE_OPENAI_KEY_5=
AZURE_OPENAI_RESOURCE_6=
AZURE_OPENAI_KEY_6=
AZURE_OPENAI_RESOURCE_7=
AZURE_OPENAI_KEY_7=
AZURE_OPENAI_RESOURCE_8=
AZURE_OPENAI_KEY_8=
# OpenAI Resource for Assistants API (this is OpenAI resource, and not Azure OpenAI) - used temporarily until Assistants API is released on Azure
OPENAI_API_KEY = ""
# Azure OpenAI Parameters
AZURE_OPENAI_API_VERSION="2024-02-15-preview"
AZURE_OPENAI_EMBEDDING_MODEL_API_VERSION="2023-12-01-preview"
AZURE_OPENAI_TEMPERATURE=0
AZURE_OPENAI_TOP_P=1.0
AZURE_OPENAI_MAX_TOKENS=1000
AZURE_OPENAI_STOP_SEQUENCE=
# Root Path for Ingestion folders
ROOT_PATH_INGESTION="../"
# Azure Vision Resource and Key
AZURE_VISION_ENDPOINT = ""
AZURE_VISION_KEY = ""
# Azure Cognitive Search Endpoint and Key
COG_SEARCH_ENDPOINT=
COG_SEARCH_ADMIN_KEY=
COG_VEC_SEARCH_API_VERSION='2023-11-01'
# Document Intelligence Resource
DI_ENDPOINT=""
DI_KEY=""
DI_API_VERSION = "2024-02-29-preview"
############################################
##### BELOW ARE OPTIONAL OR NOT USED FOR NOW
############################################
# Azure Cognitive Search Endpoints (optional) for copying and cloning indexes
COG_SEARCH_ENDPOINT_PROD=
COG_SEARCH_ADMIN_KEY_PROD=
# Azure Blob Storage Connection - Not used for now
BLOB_CONN_STR=""
# Azure Cognitive Service Endpoint and Key - Not used for now
COG_SERV_ENDPOINT=""
COG_SERV_KEY=""
COG_SERV_LOCATION="westeurope"
#CHAINLIT_APP
CHAINLIT_APP=
#COSMOS DB
COSMOS_URI=
COSMOS_KEY=
COSMOS_DB_NAME=
COSMOS_CONTAINER_NAME=
COSMOS_CATEGORY_ID=