Update rag_api.mdx (#146)

details about RAG_USE_FULL_CONTEXT variable
This commit is contained in:
Tim Manik
2024-10-22 10:57:59 -04:00
committed by GitHub
parent 84c61baf8a
commit 19db226eb3

View File

@@ -160,6 +160,7 @@ Here are some notable configurations:
- `RAG_PORT`: The port number where the API server will run. Defaults to port 8000.
- `RAG_HOST`: The hostname or IP address where the API server will run. Defaults to "0.0.0.0"
- `COLLECTION_NAME`: The name of the collection in the vector store. Default is "testcollection".
- `RAG_USE_FULL_CONTEXT`: (Optional) Set to "True" to fetch entire context of the file(s) uploaded/referenced into the conversation. Default value is "false" which means it fetches only the top 4 results (top_k=4) of the file based on the user's message.
- `CHUNK_SIZE`: The size of the chunks for text processing. Default is "1500".
- `CHUNK_OVERLAP`: The overlap between chunks during text processing. Default is "100".
- `EMBEDDINGS_PROVIDER`: The embeddings provider to use. Options are "openai", "azure", "huggingface", "huggingfacetei", or "ollama". Default is "openai".