Skip to content

DocumentRelevanceConfiguration

Source code in docs_src/capo_kendra/types/document_relevance_configuration.py
class DocumentRelevanceConfiguration(TypedDict, closed=True):
    name: "capo_kendra.types.document_metadata_configuration_name.DocumentMetadataConfigurationName"
    """<p>The name of the index field.</p>"""
    relevance: "capo_kendra.types.relevance.Relevance"
    """<p>Provides information for tuning the relevance of a field in a search. When a query includes terms that match the field, the results are given a boost in the response based on these tuning parameters.</p>"""

name instance-attribute

The name of the index field.

relevance instance-attribute

relevance: Relevance

Provides information for tuning the relevance of a field in a search. When a query includes terms that match the field, the results are given a boost in the response based on these tuning parameters.