Vectorstore Signals
Signals for the vectorstore app.
- smarter.apps.vectorstore.signals.connected = <django.dispatch.dispatcher.Signal object>
Signal sent when a connection to the vector store backend is established.
- Parameters:
Example:
connected.send(sender=self.__class__, backend=backend, provider=provider, user_profile=user_profile)
- smarter.apps.vectorstore.signals.load_failed = <django.dispatch.dispatcher.Signal object>
Signal sent when vectorstore loading fails.
- Parameters:
sender (type) – The sender of the signal, typically the class initiating the load.
backend (SmarterVectorstoreBackend) – The backend being used for loading.
provider (Provider) – The provider associated with the vectorstore.
user_profile (UserProfile) – The profile of the user associated with the load.
Example:
load_failed.send(sender=self.__class__, backend=backend, provider=provider, user_profile=user_profile)
- smarter.apps.vectorstore.signals.load_started = <django.dispatch.dispatcher.Signal object>
Signal sent when vectorstore loading starts.
- Parameters:
sender (type) – The sender of the signal, typically the class initiating the load.
backend (SmarterVectorstoreBackend) – The backend being used for loading.
provider (Provider) – The provider associated with the vectorstore.
user_profile (UserProfile) – The profile of the user associated with the load.
Example:
load_started.send(sender=self.__class__, backend=backend, provider=provider, user_profile=user_profile)
- smarter.apps.vectorstore.signals.load_success = <django.dispatch.dispatcher.Signal object>
Signal sent when vectorstore loading completes.
- Parameters:
sender (type) – The sender of the signal, typically the class initiating the load.
backend (SmarterVectorstoreBackend) – The backend being used for loading.
provider (Provider) – The provider associated with the vectorstore.
user_profile (UserProfile) – The profile of the user associated with the load.
Example:
load_success.send(sender=self.__class__, backend=backend, provider=provider, user_profile=user_profile)