indexers.hooks.default_hooks.postprocessing
indexers.hooks.default_hooks.postprocessing
Classes
| Name | Description |
|---|---|
| DeduplicationHook | A post-processing hook to remove duplicate knowledgebase entries, i.e. entries with the same label. |
| RagHook | A post-processing hook to perform Retrieval Augmented Generation. |
DeduplicationHook
indexers.hooks.default_hooks.postprocessing.DeduplicationHook(
score_aggregation_method='max',
)A post-processing hook to remove duplicate knowledgebase entries, i.e. entries with the same label.
RagHook
indexers.hooks.default_hooks.postprocessing.RagHook(
context_prompt='',
response_template='',
llm_response_parser=None,
project_id=None,
api_key=None,
location='europe-west2',
model_name='gemini-2.5-flash',
**client_kwargs,
)A post-processing hook to perform Retrieval Augmented Generation.