Last active
April 6, 2025 01:34
-
-
Save peterzhang41/2186ff7b141dcc301fb03fa762b61ab6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
syntax = "proto3"; | |
package citrusad.gembed; | |
option java_multiple_files = true; | |
option java_package = "com.citrusad.gembed"; | |
option java_outer_classname = "gembedProto"; | |
option go_package = "github.com/citrus-international/commons/proto/gembed"; | |
service EmbeddingService { | |
rpc GetEmbedding (EmbeddingRequest) returns (EmbeddingResponse); | |
} | |
message EmbeddingRequest { | |
repeated string words = 1; | |
} | |
message EmbeddingResponse { | |
repeated Embedding embeddings = 1; | |
} | |
message Embedding { | |
repeated double vector = 1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment