-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathenv-example.txt
More file actions
73 lines (58 loc) · 3 KB
/
Copy pathenv-example.txt
File metadata and controls
73 lines (58 loc) · 3 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# use this to set your .env file
#Thanks Keefer!
AZURE_SEARCH_SERVICE_ENDPOINT=https://your-search-service.search.windows.net
AZURE_SEARCH_INDEX=my-demo-index
# Optional, only required if not using RBAC authentication
# https://learn.microsoft.com/azure/search/search-security-rbac
# If you set the admin key, it's always used. Make sure key is empty if using roles.
AZURE_SEARCH_ADMIN_KEY=
# Used for azure-search-backup-and-restore
# Optional, only required if backing up to a different service
AZURE_TARGET_SEARCH_SERVICE_ENDPOINT=
AZURE_TARGET_SEARCH_INDEX=sample-backup
# Optional, only required if not using RBAC authentication.
# If you set the admin key, it's always used. Make sure key is empty if using roles.
AZURE_TARGET_SEARCH_ADMIN_KEY=
# Used for ragas-eval, azure-search-integrated-vectorization-sample, azure-search-vector-image-python-sample
# Enclose the connection string in quotes
BLOB_CONNECTION_STRING="your-blob-connection-string"
BLOB_CONTAINER_NAME=your-blob-container-name
# If the search data source requires a different format connection string (e.g. using MI auth)
# Use this field in addition to BLOB_CONNECTION_STRING
# See Search Blob connection string formats https://learn.microsoft.com/azure/search/search-howto-indexing-azure-blob-storage#supported-credentials-and-connection-strings
SEARCH_BLOB_DATASOURCE_CONNECTION_STRING=
# Optional, used for OCR in azure-search-integrated-vectorization-sample
AZURE_AI_SERVICES_KEY=
# Used for azure-search-integrated-vectorization-sample
AZURE_OPENAI_ENDPOINT=your-openai-endpoint
# Optional, only required if not using RBAC authentication
AZURE_OPENAI_KEY=
AZURE_OPENAI_EMBEDDING_DEPLOYMENT=text-embedding-ada-002
# Used for ragas
AZURE_OPENAI_ADA002_EMBEDDING_DEPLOYMENT=text-embedding-ada-002
AZURE_OPENAI_3_LARGE_EMBEDDING_DEPLOYMENT=text-embedding-3-large
# Used for ragas, azure-search-vector-python-sample, azure-search-vector-python-langchain-sample
AZURE_OPENAI_API_VERSION=2024-05-01-preview
# Used for azure-search-vector-python-sample, azure-search-integrated-vectorization-sample, azure-search-vector-python-llamaindex-sample
AZURE_OPENAI_EMBEDDING_MODEL_NAME=text-embedding-ada-002
AZURE_OPENAI_EMBEDDING_DIMENSIONS=1536
# Used for azure-search-vector-image-index-creation-python-sample
AZURE_AI_VISION_KEY=your-vision-key
AZURE_AI_VISION_ENDPOINT=https://your-vision-endpoint.cognitiveservices.azure.com
# Used for azure-search-vector-python-llamaindex-sample
AZURE_OPENAI_CHATGPT_DEPLOYMENT=gpt-35-turbo
# Used for ragas
AZURE_OPENAI_GENERATOR_DEPLOYMENT=gpt-35-turbo
AZURE_OPENAI_CRITIC_DEPLOYMENT=gpt-4o
# Used for azure-search-vector-python-llamaindex-sample
# Used if re-embedding sample data with vector-compression-and-storage
AZURE_OPENAI_EMBEDDING_DIMENSIONS=3072
# Used for azure-search-cohere-embed-v3-sample
COHERE_API_KEY=your-cohere-api-key
LANGCHAIN_API_KEY=your-key
LANGCHAIN_TRACING_V2=true
OPENAI_API_KEY=your-key
TAVILY_API_KEY=your-key
LANGCHAIN_ENDPOINT=https://api.smith.langchain.com
ANTHROPIC_API_KEY=your-key
GROK_API_KEY=xai-your-key