public sealed class FindNeighborsResponse.Types.Neighbor : IMessage<FindNeighborsResponse.Types.Neighbor>, IEquatable<FindNeighborsResponse.Types.Neighbor>, IDeepCloneable<FindNeighborsResponse.Types.Neighbor>, IBufferMessage, IMessageReference documentation and code samples for the Vertex AI v1beta1 API class FindNeighborsResponse.Types.Neighbor.
A neighbor of the query vector.
Implements
IMessageFindNeighborsResponseTypesNeighbor, IEquatableFindNeighborsResponseTypesNeighbor, IDeepCloneableFindNeighborsResponseTypesNeighbor, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
Neighbor()
public Neighbor()Neighbor(Neighbor)
public Neighbor(FindNeighborsResponse.Types.Neighbor other)| Parameter | |
|---|---|
| Name | Description |
other |
FindNeighborsResponseTypesNeighbor |
Properties
Datapoint
public IndexDatapoint Datapoint { get; set; }The datapoint of the neighbor. Note that full datapoints are returned only when "return_full_datapoint" is set to true. Otherwise, only the "datapoint_id" and "crowding_tag" fields are populated.
| Property Value | |
|---|---|
| Type | Description |
IndexDatapoint |
|
Distance
public double Distance { get; set; }The distance between the neighbor and the dense embedding query.
| Property Value | |
|---|---|
| Type | Description |
double |
|
SparseDistance
public double SparseDistance { get; set; }The distance between the neighbor and the query sparse_embedding.
| Property Value | |
|---|---|
| Type | Description |
double |
|