Cloud AI Platform v1 API - Class MatchService.MatchServiceBase (2.27.0)

[BindServiceMethod(typeof(MatchService), "BindService")]
public abstract class MatchService.MatchServiceBase

Reference documentation and code samples for the Cloud AI Platform v1 API class MatchService.MatchServiceBase.

Base class for server-side implementations of MatchService

Inheritance

object > MatchService.MatchServiceBase

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Methods

FindNeighbors(FindNeighborsRequest, ServerCallContext)

public virtual Task<FindNeighborsResponse> FindNeighbors(FindNeighborsRequest request, ServerCallContext context)

Finds the nearest neighbors of each vector within the request.

Parameters
Name Description
request FindNeighborsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskFindNeighborsResponse

The response to send back to the client (wrapped by a task).

ReadIndexDatapoints(ReadIndexDatapointsRequest, ServerCallContext)

public virtual Task<ReadIndexDatapointsResponse> ReadIndexDatapoints(ReadIndexDatapointsRequest request, ServerCallContext context)

Reads the datapoints/vectors of the given IDs. A maximum of 1000 datapoints can be retrieved in a batch.

Parameters
Name Description
request ReadIndexDatapointsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskReadIndexDatapointsResponse

The response to send back to the client (wrapped by a task).