Gemini Enterprise for Customer Experience V1 API - Class Google::Cloud::Ces::V1::FileSearchTool (v0.1.0)

Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1 API class Google::Cloud::Ces::V1::FileSearchTool.

The file search tool allows the agent to search across the files uploaded by the app/agent developer. It has presets to give relatively good quality search over the uploaded files and summarization of the retrieved results.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#corpus_type

def corpus_type() -> ::Google::Cloud::Ces::V1::FileSearchTool::CorpusType
Returns

#corpus_type=

def corpus_type=(value) -> ::Google::Cloud::Ces::V1::FileSearchTool::CorpusType
Parameter
Returns

#description

def description() -> ::String
Returns
  • (::String) — Optional. The tool description.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. The tool description.
Returns
  • (::String) — Optional. The tool description.

#file_corpus

def file_corpus() -> ::String
Returns
  • (::String) — Optional. The corpus where files are stored. Format: projects/{project}/locations/{location}/ragCorpora/{rag_corpus}

#file_corpus=

def file_corpus=(value) -> ::String
Parameter
  • value (::String) — Optional. The corpus where files are stored. Format: projects/{project}/locations/{location}/ragCorpora/{rag_corpus}
Returns
  • (::String) — Optional. The corpus where files are stored. Format: projects/{project}/locations/{location}/ragCorpora/{rag_corpus}

#name

def name() -> ::String
Returns
  • (::String) — Required. The tool name.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The tool name.
Returns
  • (::String) — Required. The tool name.