View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec (google_api_discovery_engine v0.9.0)

A specification for configuring the behavior of content search.

Attributes

  • chunkSpec (type: GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecChunkSpec.t, default: nil) - Specifies the chunk spec to be returned from the search response. Only available if the SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS
  • extractiveContentSpec (type: GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveContentSpec.t, default: nil) - If there is no extractive_content_spec provided, there will be no extractive answer in the search response.
  • searchResultMode (type: String.t, default: nil) - Specifies the search result mode. If unspecified, the search result mode defaults to DOCUMENTS.
  • snippetSpec (type: GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSnippetSpec.t, default: nil) - If snippetSpec is not specified, snippets are not included in the search response.
  • summarySpec (type: GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec.t, default: nil) - If summarySpec is not specified, summaries are not included in the search response.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.