Reference documentation and code samples for the Google Cloud Ces V1 Client class 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.
Generated from protobuf message google.cloud.ces.v1.FileSearchTool
Namespace
Google \ Cloud \ Ces \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ corpus_type
int
Optional. The type of the corpus. Default is FULLY_MANAGED.
↳ name
string
Required. The tool name.
↳ description
string
Optional. The tool description.
↳ file_corpus
string
Optional. The corpus where files are stored. Format: projects/{project}/locations/{location}/ragCorpora/{rag_corpus}
getCorpusType
Optional. The type of the corpus. Default is FULLY_MANAGED.
setCorpusType
Optional. The type of the corpus. Default is FULLY_MANAGED.
$this
getName
Required. The tool name.
string
setName
Required. The tool name.
var
string
$this
getDescription
Optional. The tool description.
string
setDescription
Optional. The tool description.
var
string
$this
getFileCorpus
Optional. The corpus where files are stored.
Format: projects/{project}/locations/{location}/ragCorpora/{rag_corpus}
string
setFileCorpus
Optional. The corpus where files are stored.
Format: projects/{project}/locations/{location}/ragCorpora/{rag_corpus}
var
string
$this

