GoogleCloudAiplatformV1Fact class

The fact used in grounding.

Constructors

GoogleCloudAiplatformV1Fact.new({String? query, double? score, String? summary, String? title, String? uri, double? vectorDistance})
GoogleCloudAiplatformV1Fact.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
query String?
Query that is used to retrieve this fact.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
score double?
If present, 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 fact and its range depends on the metric type.
getter/setter pair
summary String?
If present, the summary/snippet of the fact.
getter/setter pair
title String?
If present, it refers to the title of this fact.
getter/setter pair
uri String?
If present, this uri links to the source of the fact.
getter/setter pair
vectorDistance double?
If present, the distance between the query vector and this fact vector.
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