Ask a question to get started
Enter to send•Shift+Enter new line
Run on the retriever end.
on_retriever_end( self, documents: Sequence[Document], *, run_id: UUID, parent_run_id: UUID | None = None, tags: list[str] | None = None, **kwargs: Any = {} ) -> None
documents
Sequence[Document]
The documents retrieved.
run_id
UUID
The ID of the current run.
parent_run_id
UUID | None
None
The ID of the parent run.
tags
list[str] | None
The tags.
**kwargs
Any
{}
Additional keyword arguments.