-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenv.example
40 lines (40 loc) · 1.86 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
HOSTNAME="http://localhost:5010"
FLASK_DEBUG=1
FLASK_CONFIG=development
REDIS_URL=redis://redis:6379/0
REDIS_DOCUMENT_CACHE_TIMEOUT=60
REDIS_DOCUMENT_CACHE_PREFIX="airtable"
REDIS_QUERY_CACHE_PREFIX="queries"
ELASTICSEARCH_KV_INDEX="ddhub-prototype-kv"
ELASTICSEARCH_NODE_INDEX="ddhub-prototype-nodes"
ELASTICSEARCH_REF_DOC_INDEX="ddhub-prototype-ref-docs"
ELASTICSEARCH_METADATA_INDEX="ddhub-prototype-metadata"
ELASTICSEARCH_EMBEDDINGS_INDEX="ddhub-prototype-embeddings"
ELASTICSEARCH_EMBEDDINGS_FIELD="embedding"
ELASTICSEARCH_URL="http://elasticsearch:9200/"
FETCHER_USER_AGENT="FablabBCN-DDLH-indexer/0.0.0"
CELERY_BROKER_URL=$REDIS_URL
CELERY_RESULT_BACKEND=$REDIS_URL
SECRET_KEY=super_secret_key_here
MISTRAL_API_KEY=your_mistral_api_key_here
MISTRAL_EMBEDDING_MODEL_NAME="mistral-embed"
MISTRAL_LANGUAGE_MODEL_NAME="open-mixtral-8x22b"
AIRTABLE_TOKEN=your_airtable_token_here
AIRTABLE_BASE_ID=your_airtable_base_id_here
AIRTABLE_DOCUMENTS_TABLE_ID=your_airtable_table_id_here
AIRTABLE_THEMES_TABLE_ID=your_airtable_table_id_here
AIRTABLE_FORMATS_TABLE_ID=your_airtable_table_id_here
AIRTABLE_FEATURED_DOCUMENTS_TABLE_ID=your_airtable_table_id_here
AIRTABLE_THEMES_VIEW_ID=your_airtable_view_id_here
AIRTABLE_FEATURED_DOCUMENTS_VIEW_ID=your_airtable_view_id_here
EMBEDDING_CHUNK_SIZE=350
EMBEDDING_CHUNK_OVERLAP=50
RETRIEVAL_TOP_K=20
RETRIEVAL_MAX_DOCUMENT_SUMMARIES=3
DISABLE_MISTRALAI_GUARDRAILS=0
OPENAI_API_KEY="None" #This needs to be set as llama_index brings in the openai client as a dependency, and if we don't have an API key set, it errors on boot.
GUNICORN_MAX_REQUESTS=1200
WEB_CONCURRENCY=2
#ELASTICSEARCH_USERNAME= # No need to set these in development, but needed for deployment to heroku
#ELASTICSEARCH_PASSWORD= # No need to set these in development but needed for deployment to heroku
#NLTK_DATA=/app/.ntlk # Do NOT set when deploying to Heroku, but needed with docker-compose