[BindServiceMethod(typeof(VertexRagDataService), "BindService")]
public abstract class VertexRagDataService.VertexRagDataServiceBaseReference documentation and code samples for the Vertex AI v1beta1 API class VertexRagDataService.VertexRagDataServiceBase.
Base class for server-side implementations of VertexRagDataService
Namespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Methods
CreateRagCorpus(CreateRagCorpusRequest, ServerCallContext)
public virtual Task<Operation> CreateRagCorpus(CreateRagCorpusRequest request, ServerCallContext context)Creates a RagCorpus.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateRagCorpusRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
DeleteRagCorpus(DeleteRagCorpusRequest, ServerCallContext)
public virtual Task<Operation> DeleteRagCorpus(DeleteRagCorpusRequest request, ServerCallContext context)Deletes a RagCorpus.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteRagCorpusRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
DeleteRagFile(DeleteRagFileRequest, ServerCallContext)
public virtual Task<Operation> DeleteRagFile(DeleteRagFileRequest request, ServerCallContext context)Deletes a RagFile.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteRagFileRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
GetRagCorpus(GetRagCorpusRequest, ServerCallContext)
public virtual Task<RagCorpus> GetRagCorpus(GetRagCorpusRequest request, ServerCallContext context)Gets a RagCorpus.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRagCorpusRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskRagCorpus |
The response to send back to the client (wrapped by a task). |
GetRagEngineConfig(GetRagEngineConfigRequest, ServerCallContext)
public virtual Task<RagEngineConfig> GetRagEngineConfig(GetRagEngineConfigRequest request, ServerCallContext context)Gets a RagEngineConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRagEngineConfigRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskRagEngineConfig |
The response to send back to the client (wrapped by a task). |
GetRagFile(GetRagFileRequest, ServerCallContext)
public virtual Task<RagFile> GetRagFile(GetRagFileRequest request, ServerCallContext context)Gets a RagFile.
| Parameters | |
|---|---|
| Name | Description |
request |
GetRagFileRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskRagFile |
The response to send back to the client (wrapped by a task). |
ImportRagFiles(ImportRagFilesRequest, ServerCallContext)
public virtual Task<Operation> ImportRagFiles(ImportRagFilesRequest request, ServerCallContext context)Import files from Google Cloud Storage or Google Drive into a RagCorpus.
| Parameters | |
|---|---|
| Name | Description |
request |
ImportRagFilesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
ListRagCorpora(ListRagCorporaRequest, ServerCallContext)
public virtual Task<ListRagCorporaResponse> ListRagCorpora(ListRagCorporaRequest request, ServerCallContext context)Lists RagCorpora in a Location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRagCorporaRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListRagCorporaResponse |
The response to send back to the client (wrapped by a task). |
ListRagFiles(ListRagFilesRequest, ServerCallContext)
public virtual Task<ListRagFilesResponse> ListRagFiles(ListRagFilesRequest request, ServerCallContext context)Lists RagFiles in a RagCorpus.
| Parameters | |
|---|---|
| Name | Description |
request |
ListRagFilesRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListRagFilesResponse |
The response to send back to the client (wrapped by a task). |
UpdateRagCorpus(UpdateRagCorpusRequest, ServerCallContext)
public virtual Task<Operation> UpdateRagCorpus(UpdateRagCorpusRequest request, ServerCallContext context)Updates a RagCorpus.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateRagCorpusRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
UpdateRagEngineConfig(UpdateRagEngineConfigRequest, ServerCallContext)
public virtual Task<Operation> UpdateRagEngineConfig(UpdateRagEngineConfigRequest request, ServerCallContext context)Updates a RagEngineConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateRagEngineConfigRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskOperation |
The response to send back to the client (wrapped by a task). |
UploadRagFile(UploadRagFileRequest, ServerCallContext)
public virtual Task<UploadRagFileResponse> UploadRagFile(UploadRagFileRequest request, ServerCallContext context)Upload a file into a RagCorpus.
| Parameters | |
|---|---|
| Name | Description |
request |
UploadRagFileRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskUploadRagFileResponse |
The response to send back to the client (wrapped by a task). |