GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec (google_api_discovery_engine v0.28.0)
View SourceA 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 toDOCUMENTS. -
snippetSpec(type:GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSnippetSpec.t, default:nil) - IfsnippetSpecis not specified, snippets are not included in the search response. -
summarySpec(type:GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpec.t, default:nil) - IfsummarySpecis not specified, summaries are not included in the search response.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec{ chunkSpec: GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecChunkSpec.t() | nil, extractiveContentSpec: GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveContentSpec.t() | nil, searchResultMode: String.t() | nil, snippetSpec: GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSnippetSpec.t() | nil, summarySpec: GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpec.t() | nil }