View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec (google_api_discovery_engine v0.16.0)

A specification for configuring the behavior of content search.

Attributes

  • chunkSpec (type: GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecChunkSpec.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.GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveContentSpec.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.GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSnippetSpec.t, default: nil) - If snippetSpec is not specified, snippets are not included in the search response.
  • summarySpec (type: GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec.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.