-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Define AI GRPC service to support using AI to generate cells (#573)
We'd like to use AI to generate cells. In particular, we'd like to support using [Foyle](foyle.io) to add AI capabilities. The initial plan is to use a gRPC service to allow RunMe to communicate with Foyle (or potentially other AI services). This proto needs to define that gRPC service.
- Loading branch information
Showing
8 changed files
with
526 additions
and
0 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
/* eslint-disable */ | ||
// @generated by protobuf-ts 2.9.4 with parameter output_javascript,optimize_code_size,long_type_string,add_pb_suffix,ts_nocheck,eslint_disable | ||
// @generated from protobuf file "runme/ai/v1alpha1/ai.proto" (package "runme.ai.v1alpha1", syntax proto3) | ||
// tslint:disable | ||
// @ts-nocheck | ||
import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; | ||
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; | ||
import type { GenerateCellsResponse } from "./ai_pb"; | ||
import type { GenerateCellsRequest } from "./ai_pb"; | ||
import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; | ||
import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; | ||
/** | ||
* The AIService service is used to provide assistant capabilities to Runme. | ||
* | ||
* @generated from protobuf service runme.ai.v1alpha1.AIService | ||
*/ | ||
export interface IAIServiceClient { | ||
/** | ||
* GenerateCells uses the AI to generate cells to insert into the notebook. | ||
* | ||
* @generated from protobuf rpc: GenerateCells(runme.ai.v1alpha1.GenerateCellsRequest) returns (runme.ai.v1alpha1.GenerateCellsResponse); | ||
*/ | ||
generateCells(input: GenerateCellsRequest, options?: RpcOptions): UnaryCall<GenerateCellsRequest, GenerateCellsResponse>; | ||
} | ||
/** | ||
* The AIService service is used to provide assistant capabilities to Runme. | ||
* | ||
* @generated from protobuf service runme.ai.v1alpha1.AIService | ||
*/ | ||
export declare class AIServiceClient implements IAIServiceClient, ServiceInfo { | ||
private readonly _transport; | ||
typeName: any; | ||
methods: any; | ||
options: any; | ||
constructor(_transport: RpcTransport); | ||
/** | ||
* GenerateCells uses the AI to generate cells to insert into the notebook. | ||
* | ||
* @generated from protobuf rpc: GenerateCells(runme.ai.v1alpha1.GenerateCellsRequest) returns (runme.ai.v1alpha1.GenerateCellsResponse); | ||
*/ | ||
generateCells(input: GenerateCellsRequest, options?: RpcOptions): UnaryCall<GenerateCellsRequest, GenerateCellsResponse>; | ||
} |
Oops, something went wrong.