Class: Google::Cloud::DiscoveryEngine::V1::GenerateGroundedContentRequest::GroundingSource::SearchSource

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/discoveryengine/v1/grounded_generation_service.rb

Overview

Message to be used for grounding with Vertex AI Search.

Instance Attribute Summary collapse

Instance Attribute Details

#filter::String

Returns Filter expression to be applied to the search.

The syntax is the same as SearchRequest.filter.

Returns:

  • (::String)

    Filter expression to be applied to the search.

    The syntax is the same as SearchRequest.filter.



220
221
222
223
# File 'proto_docs/google/cloud/discoveryengine/v1/grounded_generation_service.rb', line 220

class SearchSource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#max_result_count::Integer

Returns Number of search results to return.

The default value is 10. The maximumm allowed value is 10.

Returns:

  • (::Integer)

    Number of search results to return.

    The default value is 10. The maximumm allowed value is 10.



220
221
222
223
# File 'proto_docs/google/cloud/discoveryengine/v1/grounded_generation_service.rb', line 220

class SearchSource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#safe_search::Boolean

Returns If set, safe search is enabled in Vertex AI Search requests.

Returns:

  • (::Boolean)

    If set, safe search is enabled in Vertex AI Search requests.



220
221
222
223
# File 'proto_docs/google/cloud/discoveryengine/v1/grounded_generation_service.rb', line 220

class SearchSource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#serving_config::String

Returns The resource name of the Engine to use.

Format: projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}.

Returns:

  • (::String)

    The resource name of the Engine to use.

    Format: projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}



220
221
222
223
# File 'proto_docs/google/cloud/discoveryengine/v1/grounded_generation_service.rb', line 220

class SearchSource
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end