forked from pqaidevteam/pqai
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenv
24 lines (24 loc) · 1.5 KB
/
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
MODELS_DIR= # absolute path to the "models" directory
INDEXES_DIR= # absolute path to the "indexes" directory
TOKENS_FILE= # absolute path to the access tokens file
PQAI_S3_BUCKET_NAME= # (not needed for testing)
AWS_ACCESS_KEY_ID= # (not needed for testing)
AWS_SECRET_ACCESS_KEY= # (not needed for testing)
API_PORT= # port to be used by PQAI, default=8501
MONGO_PORT= # port for Mongo service, default=27017
MONGO_HOST= # default=localhost
MONGO_USER= # leave blank if no username needed for connection
MONGO_PASSWORD= # leave blank if no password needed
MONGO_DBNAME= # default=pqai
MONGO_PAT_COLL= # default=bibliography
MONGO_NPL_COLL= # default=npl
SMART_INDEX_SELECTION= # 1 or 0; set as 0 if indexes not split at subclass level
DEFAULT_SBERT_MODEL= # any of the SBERT models present in /models directory
USE_RERANKER= # 1 or 0
DISABLE_GPU= # 1 or 0
SENTRY_URL= # optional; leave blank is not needed
OUTGOING_EXT= # 1 or 0; set as 0 for local testing
INCOMING_EXT= # 1 0r 0; set as 0 for local testing
USE_FAISS_INDEXES=1 # 1 or 0
USE_ANNOY_INDEXES=0 # 1 or 0
TOKEN_AUTHENTICATION= # 1 or 0; can disable for local testing