Class SummarySkippedReason (0.13.2)

SummarySkippedReason(value)

An Enum for summary-skipped reasons.

    Only used when
    <xref uid="google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SummarySpec.ignore_adversarial_query">SummarySpec.ignore_adversarial_query</xref>
    is set to `true`.
NON_SUMMARY_SEEKING_QUERY_IGNORED (2):
    The non-summary seeking query ignored case.

    Only used when
    <xref uid="google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SummarySpec.ignore_non_summary_seeking_query">SummarySpec.ignore_non_summary_seeking_query</xref>
    is set to `true`.
OUT_OF_DOMAIN_QUERY_IGNORED (3):
    The out-of-domain query ignored case.

    Google skips the summary if there are no
    high-relevance search results. For example, the
    data store contains facts about company A but
    the user query is asking questions about company
    B.
POTENTIAL_POLICY_VIOLATION (4):
    The potential policy violation case.

    Google skips the summary if there is a potential
    policy violation detected. This includes content
    that may be violent or toxic.
LLM_ADDON_NOT_ENABLED (5):
    The LLM addon not enabled case.

    Google skips the summary if the LLM addon is not
    enabled.
NO_RELEVANT_CONTENT (6):
    The no relevant content case.

    Google skips the summary if there is no relevant
    content in the retrieved search results.
JAIL_BREAKING_QUERY_IGNORED (7):
    The jail-breaking query ignored case.

    For example, "Reply in the tone of a competing company's
    CEO". Only used when
    [SearchRequest.ContentSearchSpec.SummarySpec.ignore_jail_breaking_query]
    is set to `true`.
CUSTOMER_POLICY_VIOLATION (8):
    The customer policy violation case.

    Google skips the summary if there is a customer
    policy violation detected. The policy is defined
    by the customer.
NON_SUMMARY_SEEKING_QUERY_IGNORED_V2 (9):
    The non-answer seeking query ignored case.

    Only used when
    [SearchRequest.ContentSearchSpec.SummarySpec.ignore_non_answer_seeking_query]
    is set to `true`.

Enums

Name Description
SUMMARY_SKIPPED_REASON_UNSPECIFIED Default value. The summary skipped reason is not specified.
ADVERSARIAL_QUERY_IGNORED The adversarial query ignored case.