Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::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::V1beta::FileSearchTool::CorpusType
Returns
- (::Google::Cloud::Ces::V1beta::FileSearchTool::CorpusType) — Optional. The type of the corpus. Default is FULLY_MANAGED.
#corpus_type=
def corpus_type=(value) -> ::Google::Cloud::Ces::V1beta::FileSearchTool::CorpusType
Parameter
- value (::Google::Cloud::Ces::V1beta::FileSearchTool::CorpusType) — Optional. The type of the corpus. Default is FULLY_MANAGED.
Returns
- (::Google::Cloud::Ces::V1beta::FileSearchTool::CorpusType) — Optional. The type of the corpus. Default is FULLY_MANAGED.
#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.