Skip to content

Commit fdf71fc

Browse files
committed
Updated documentation to highlight existance of RAG_USE_FULL_CONTEXT variable and explain what it does
1 parent 1a7f5fb commit fdf71fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ The following environment variables are required to run the application:
5757
- `COLLECTION_NAME`: (Optional) The name of the collection in the vector store. Default value is "testcollection".
5858
- `CHUNK_SIZE`: (Optional) The size of the chunks for text processing. Default value is "1500".
5959
- `CHUNK_OVERLAP`: (Optional) The overlap between chunks during text processing. Default value is "100".
60+
- `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.
6061
- `RAG_UPLOAD_DIR`: (Optional) The directory where uploaded files are stored. Default value is "./uploads/".
6162
- `PDF_EXTRACT_IMAGES`: (Optional) A boolean value indicating whether to extract images from PDF files. Default value is "False".
6263
- `DEBUG_RAG_API`: (Optional) Set to "True" to show more verbose logging output in the server console, and to enable postgresql database routes

0 commit comments

Comments
 (0)