GoogleCloudAiplatformV1RagContextsContext class
A context of the query.
Constructors
- GoogleCloudAiplatformV1RagContextsContext.new({double? score, String? sourceDisplayName, String? sourceUri, String? text})
- GoogleCloudAiplatformV1RagContextsContext.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- score ↔ double?
-
According to the underlying Vector DB and the selected metric type, the
score can be either the distance or the similarity between the query and
the context and its range depends on the metric type.
getter/setter pair
- sourceDisplayName ↔ String?
-
The file display name.
getter/setter pair
- sourceUri ↔ String?
-
If the file is imported from Cloud Storage or Google Drive, source_uri
will be original file URI in Cloud Storage or Google Drive; if file is
uploaded, source_uri will be file display name.
getter/setter pair
- text ↔ String?
-
The text chunk.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited