Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 797 Bytes

CHANGES.md

File metadata and controls

10 lines (9 loc) · 797 Bytes

Implemented Suggestions

Change File and Line Numbers Description
Setting CHUNK_SIZE to 400 with k = 4 chatbot/defaults.py:L13 Added a constant for k = 4.
chatbot/defaults.py:L19 Updated the constant from 1000 to 400
chatbot/database/vector_store.py:L29 Imported and used the K param constant introduced previously.
Adding support for multiple files main.py:L35-69 Replaced logic to handle multiple files instead of single one.
Exception Handling chatbot/database/mongo.py:L10-17 Handled all connection related errors by single base exception provided by MongoDB.
main.py:L92-99 Added a base exception handler for FastAPI so it can report any issue on logs.