Gemini Enterprise for Customer Experience v1 API - Class FileSearchTool (1.0.0-beta01)

public sealed class FileSearchTool : IMessage<FileSearchTool>, IEquatable<FileSearchTool>, IDeepCloneable<FileSearchTool>, IBufferMessage, IMessage

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API 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.

Inheritance

object > FileSearchTool

Namespace

Google.Cloud.Ces.V1

Assembly

Google.Cloud.Ces.V1.dll

Constructors

FileSearchTool()

public FileSearchTool()

FileSearchTool(FileSearchTool)

public FileSearchTool(FileSearchTool other)
Parameter
Name Description
other FileSearchTool

Properties

CorpusType

public FileSearchTool.Types.CorpusType CorpusType { get; set; }

Optional. The type of the corpus. Default is FULLY_MANAGED.

Property Value
Type Description
FileSearchToolTypesCorpusType

Description

public string Description { get; set; }

Optional. The tool description.

Property Value
Type Description
string

FileCorpus

public string FileCorpus { get; set; }

Optional. The corpus where files are stored. Format: projects/{project}/locations/{location}/ragCorpora/{rag_corpus}

Property Value
Type Description
string

Name

public string Name { get; set; }

Required. The tool name.

Property Value
Type Description
string