Spaces:
Sleeping
Sleeping
File size: 1,170 Bytes
f5d22a4 7acac3e 42f834a f4b3d00 42f834a f4b3d00 f5d22a4 fb95c43 42f834a fb95c43 42f834a fb95c43 f5d22a4 fb95c43 42f834a 7acac3e fb95c43 83d98e9 848d541 |
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 |
# API Keys for services
HUGGINGFACEHUB_API_TOKEN=""
GOOGLE_CSE_ID=""
GOOGLE_API_KEY=""
# Vectorstore storage on S3 and locally
S3_LOCATION="rad-rag-demos"
FAISS_VS_NAME="vectorstores/faiss-insurance-agent-multilingual-cased-1500.zip"
CHROMA_VS_NAME="vectorstores/chroma-zurich-mpnet-1500.zip"
# directories that need to be adjusted for windows
FAISS_INDEX_PATH = "./vectorstore/faiss-insurance-agent-multilingual-cased-1500"
CHROMA_DIRECTORY = "./vectorstore/chroma-insurance-agent-multilingual-cased-500"
VS_DESTINATION_FOLDER="./vectorstore/"
# for chromadb
VECTOR_DATABASE_LOCATION="./vectorstore/chroma-insurance-agent-multilingual-cased-500"
# for storing search results
SOURCES_CACHE = 'rag_app/database/source_cache.sqlite3'
# llm and embedding models
#EMBEDDING_MODEL="sentence-transformers/multi-qa-mpnet-base-dot-v1"
EMBEDDING_MODEL="sentence-transformers/distiluse-base-multilingual-cased-v2"
#384 dims
#EMBEDDING_MODEL="sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2"
LLM_MODEL="mistralai/Mixtral-8x7B-Instruct-v0.1"
LLM_MODEL_ARGS=
SEVEN_B_LLM_MODEL="mistralai/Mistral-7B-Instruct-v0.3"
BERT_MODEL="paraphrase-multilingual-MiniLM-L12-v2" |