-
Notifications
You must be signed in to change notification settings - Fork 729
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The `st.experimental_memo()` and `st.cache_data` methods are deprecated so I replaced them with the new caching methods. However, the `Document` class cannot be hashed, so I added a custom hash function for it. Also, as a temporary solution, the `search_docs()` method was moved to the `main.py` file since the `VectorStore` class cannot be hashed.
- Loading branch information
Showing
2 changed files
with
15 additions
and
19 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