generated from gpauloski/python-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates to VectorStore and Query Engine
1. Upgraded the vectorstore from default json to Faiss. Result: It now loads much faster from storage. 2. Implemented a custom query engine with the following: -A custom prompt template in-line with Rick's. -Prompt helper that will facilitate compact response synthesis. -Increased the retrieved documents to 30 per query. -Increased the similarity cutoff threshold to 0.75 -Swithced the response mode from 'refine' to 'compact' for faster inference.
- Loading branch information
Showing
2 changed files
with
136 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters