forked from elastic/elasticsearch-labs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathenv.example
58 lines (50 loc) · 2.04 KB
/
env.example
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
# Make a copy of this file with the name .env and assign values to variables
# How you connect to Elasticsearch: change details to your instance
ELASTICSEARCH_URL=http://localhost:9200
ELASTICSEARCH_USER=elastic
ELASTICSEARCH_PASSWORD=elastic
# ELASTICSEARCH_API_KEY=
# The name of the Elasticsearch indexes
ES_INDEX=workplace-app-docs
ES_INDEX_CHAT_HISTORY=workplace-app-docs-chat-history
# Uncomment and complete if you want to use OpenAI
# LLM_TYPE=openai
# OPENAI_API_KEY=
# CHAT_MODEL=gpt-4o-mini
# Uncomment and complete if you want to use Azure OpenAI
# LLM_TYPE=azure
## "Azure OpenAI Endpoint" in https://oai.azure.com/resource/overview
# AZURE_OPENAI_ENDPOINT=https://YOUR_RESOURCE_NAME.openai.azure.com/
## "API key 1 (or 2)" in https://oai.azure.com/resource/overview
# AZURE_OPENAI_API_KEY=
## "Inference version" from https://learn.microsoft.com/en-us/azure/ai-services/openai/api-version-deprecation
# OPENAI_API_VERSION=2024-10-01-preview
## "Name" from https://oai.azure.com/resource/deployments
# CHAT_DEPLOYMENT=YOUR_DEPLOYMENT_NAME
# Uncomment and complete if you want to use Bedrock LLM
# LLM_TYPE=bedrock
# AWS_ACCESS_KEY_ID=
# AWS_SECRET_ACCESS_KEY=
# AWS_DEFAULT_REGION=
# CHAT_MODEL=anthropic.claude-3-5-sonnet-20240620-v1:0
# Uncomment and complete if you want to use Vertex AI
# LLM_TYPE=vertex
## Project that has the service "aiplatform.googleapis.com" enabled
# GOOGLE_CLOUD_PROJECT=
# GOOGLE_CLOUD_REGION=
# CHAT_MODEL=gemini-1.5-flash-002
## Needed if you haven't run `gcloud auth application-default login`
# GOOGLE_APPLICATION_CREDENTIALS=
# Uncomment and complete if you want to use Mistral AI
# LLM_TYPE=mistral
## Key in https://console.mistral.ai/api-keys/
# MISTRAL_API_KEY=
## 'API Endpoints' from https://docs.mistral.ai/getting-started/models/models_overview/
# CHAT_MODEL=open-mistral-nemo
## Only set this if not using the default Mistral base URL
# MISTRAL_BASE_URL=
# Uncomment and complete if you want to use Cohere
# LLM_TYPE=cohere
## Key in https://dashboard.cohere.com/api-keys
# COHERE_API_KEY=
# CHAT_MODEL=command-r7b-12-2024