Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define AI GRPC service to support using AI to generate cells #573

Merged
merged 5 commits into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
230 changes: 230 additions & 0 deletions pkg/api/gen/proto/go/runme/ai/v1alpha1/ai.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

111 changes: 111 additions & 0 deletions pkg/api/gen/proto/go/runme/ai/v1alpha1/ai_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 42 additions & 0 deletions pkg/api/gen/proto/ts/runme/ai/v1alpha1/ai_pb.client.d.ts
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>;
}
Loading
Loading