View Source GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec (google_api_discovery_engine v0.27.0)

A specification for configuring the behavior of content search.

Attributes

  • chunkSpec (type: GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecChunkSpec.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.V1.Model.GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveContentSpec.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.V1.Model.GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSnippetSpec.t, default: nil) - If snippetSpec is not specified, snippets are not included in the search response.
  • summarySpec (type: GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpec.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

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.