Class FileSearch
java.lang.Object
com.google.genai.gaos.models.interactions.FileSearch
- All Implemented Interfaces:
Tool
FileSearch
A tool that can be used by the model to search files.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionFileSearch(List<String> fileSearchStoreNames, String metadataFilter, Integer topK) -
Method Summary
Modifier and TypeMethodDescriptionstatic FileSearch.Builderbuilder()booleanThe file search store names to search.inthashCode()Metadata filter to apply to the semantic retrieval documents and chunks.topK()The number of semantic retrieval chunks to retrieve.toString()type()withFileSearchStoreNames(List<String> fileSearchStoreNames) The file search store names to search.withMetadataFilter(String metadataFilter) Metadata filter to apply to the semantic retrieval documents and chunks.The number of semantic retrieval chunks to retrieve.
-
Constructor Details
-
FileSearch
-
FileSearch
public FileSearch()
-
-
Method Details
-
fileSearchStoreNames
The file search store names to search. -
metadataFilter
Metadata filter to apply to the semantic retrieval documents and chunks. -
topK
The number of semantic retrieval chunks to retrieve. -
type
-
builder
-
withFileSearchStoreNames
The file search store names to search. -
withMetadataFilter
Metadata filter to apply to the semantic retrieval documents and chunks. -
withTopK
The number of semantic retrieval chunks to retrieve. -
equals
-
hashCode
public int hashCode() -
toString
-