Caching
Cached querysets of the vectorstores that a user may see: those they own, those shared with.
them, and both. A vectorstore’s post_save and post_delete receivers invalidate its owner’s.
- smarter.apps.vectorstore.caching.get_cached_vectorstores_available_to_user_profile(user_profile)[source]
The vectorstores that the user may read: owned and shared.
- Return type:
- smarter.apps.vectorstore.caching.get_cached_vectorstores_owned_by_user_profile(user_profile)[source]
The vectorstores that the user owns.
- Return type:
The vectorstores shared with the user: their account’s, and the platform’s.
- Return type: