Class FileSearchTool (0.3.0)

FileSearchTool(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.

Attributes

Name Description
corpus_type google.cloud.ces_v1beta.types.FileSearchTool.CorpusType
Optional. The type of the corpus. Default is FULLY_MANAGED.
name str
Required. The tool name.
description str
Optional. The tool description.
file_corpus str
Optional. The corpus where files are stored. Format: projects/{project}/locations/{location}/ragCorpora/{rag_corpus}

Classes

CorpusType

CorpusType(value)

The type of the Vertex RAG corpus.