Vectorstore Signals

Signals of the vectorstore app.

Their receivers log them. Use them, e.g., to notify the owner of a failed document.

smarter.apps.vectorstore.signals.document_load_failed = <django.dispatch.dispatcher.Signal object>

Sent when a document cannot be loaded.

Parameters:
smarter.apps.vectorstore.signals.document_loaded = <django.dispatch.dispatcher.Signal object>

Sent when a document’s chunks are loaded into its vectorstore.

Parameters:

document (VectorstoreDocument) – the document.

smarter.apps.vectorstore.signals.vectorstore_deployed = <django.dispatch.dispatcher.Signal object>

Sent when a vectorstore is deployed.

Parameters:

vectorstore (VectorstoreMeta) – the vectorstore.

smarter.apps.vectorstore.signals.vectorstore_destroyed = <django.dispatch.dispatcher.Signal object>

Sent when a vectorstore’s database, and its data, is destroyed.

Parameters:

vectorstore (VectorstoreMeta) – the vectorstore.

smarter.apps.vectorstore.signals.vectorstore_status_changed = <django.dispatch.dispatcher.Signal object>

Sent when a vectorstore’s status changes.

Parameters:
  • vectorstore (VectorstoreMeta) – the vectorstore.

  • previous (str) – its previous status.

  • status (str) – its status, e.g. ready or failed.

  • message (str) – why, e.g. the error.