Vector Search V1 API - Class Google::Cloud::VectorSearch::V1::VertexRanker::TextRecordSpec (v0.3.0)

Reference documentation and code samples for the Vector Search V1 API class Google::Cloud::VectorSearch::V1::VertexRanker::TextRecordSpec.

The record spec for text search.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#content_template

def content_template() -> ::String
Returns
  • (::String) — Optional. The template used to generate the record's content.

#content_template=

def content_template=(value) -> ::String
Parameter
  • value (::String) — Optional. The template used to generate the record's content.
Returns
  • (::String) — Optional. The template used to generate the record's content.

#query

def query() -> ::String
Returns
  • (::String) — Required. The query against which the records are ranked and scored.

#query=

def query=(value) -> ::String
Parameter
  • value (::String) — Required. The query against which the records are ranked and scored.
Returns
  • (::String) — Required. The query against which the records are ranked and scored.

#title_template

def title_template() -> ::String
Returns
  • (::String) — Optional. The template used to generate the record's title.

#title_template=

def title_template=(value) -> ::String
Parameter
  • value (::String) — Optional. The template used to generate the record's title.
Returns
  • (::String) — Optional. The template used to generate the record's title.