[BindServiceMethod(typeof(MatchService), "BindService")]
public abstract class MatchService.MatchServiceBaseReference documentation and code samples for the Vertex AI v1beta1 API class MatchService.MatchServiceBase.
Base class for server-side implementations of MatchService
Namespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.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 |
FindNeighborsRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
ReadIndexDatapointsRequestThe request received from the client. |
context |
ServerCallContextThe 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). |