FileSearch class final
The FileSearch tool that retrieves knowledge from Semantic Retrieval corpora. Files are imported to Semantic Retrieval corpora using the ImportFile API.
- Inheritance
-
- Object
- ProtoMessage
- FileSearch
Constructors
-
FileSearch({required List<
FileSearch_RetrievalResource> retrievalResources, FileSearch_RetrievalConfig? retrievalConfig}) - FileSearch.fromJson(Object? j)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited - retrievalConfig → FileSearch_RetrievalConfig?
-
Optional. The configuration for the retrieval.
final
-
retrievalResources
→ List<
FileSearch_RetrievalResource> -
Required. Semantic retrieval resources to retrieve from.
Currently only supports one corpus. In the future we may open up multiple
corpora support.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String