chunk size + chunk overlap in settings

This commit is contained in:
Niklas Mueller 2024-07-04 18:01:44 +02:00
parent e3b62b76f9
commit c7d748f7fd
3 changed files with 18 additions and 3 deletions

8
.env
View file

@ -14,6 +14,7 @@ S3_ENDPOINT=http://localhost:9000
S3_ACCESS_KEY=admin
S3_SECRET_KEY=secret-admin-key
BUCKET_NAME=rag-bucket
BUCKET_FILE_PATH=my-project-name
################################
@ -34,7 +35,8 @@ OPENSEARCH_USE_SSL=True
LLM_OPTION=ollamallm
# LLM_API_ENDPOINT=http://<ip-of-ollama-instance>:11434
LLM_API_ENDPOINT=http://127.0.0.1:11434
# LLM_API_ENDPOINT=http://127.0.0.1:11434
LLM_API_ENDPOINT=http://18.192.122.66:11434
# if required for you llm setup (for self hosted ollama not needed)
LLM_API_KEY=placeholder
@ -44,3 +46,7 @@ LLM_LANGUAGE=de
# LLM Model to be used - "mistral", "phi3", "llama3", etc. (Check available with <ip_of_ollama_instance>:11434/api/tags)
LLM_MODEL_NAME=mistral
# CHUNKING
CHUNKING_CHUNK_SIZE=100
CHUNKING_CHUNK_OVERLAP=10