EmbeddingService gRPC API

EmbeddingService provides text-to-vector embedding operations for plugins

Proto file: plugin/grpc/protocol/embedding.proto

Service Methods

MethodRequestResponseStreaming
EmbedEmbedRequestEmbedResponseNo
BatchEmbedBatchEmbedRequestBatchEmbedResponseNo
ClusterClusterRequestClusterResponseNo
ModelInfoModelInfoRequestModelInfoResponseNo
GetLabelEligibleClustersGetLabelEligibleClustersRequestGetLabelEligibleClustersResponseNo
SampleClusterTextsSampleClusterTextsRequestSampleClusterTextsResponseNo
SetClusterLabelSetClusterLabelRequestSetClusterLabelResponseNo

Embed

Embed generates a vector embedding for a single text


BatchEmbed

BatchEmbed generates vector embeddings for multiple texts


Cluster

Cluster runs HDBSCAN clustering on a flat array of embeddings


ModelInfo

ModelInfo returns metadata about the loaded embedding model


GetLabelEligibleClusters

GetLabelEligibleClusters returns clusters eligible for labeling


SampleClusterTexts

SampleClusterTexts returns random sample texts from a cluster


SetClusterLabel

SetClusterLabel sets or updates the label on a cluster


Message Types

EmbedRequest

FieldTypeDescription
auth_tokenstring-
textstring-

EmbedResponse

FieldTypeDescription
vectorfloat-
dimensionsint32-
modelstring-
tokensint32-

BatchEmbedRequest

FieldTypeDescription
auth_tokenstring-
textsstring-

BatchEmbedResponse

FieldTypeDescription
resultsEmbeddingVector-
dimensionsint32-
modelstring-
total_tokensint32-

EmbeddingVector

FieldTypeDescription
vectorfloat-
tokensint32-

GetLabelEligibleClustersRequest

FieldTypeDescription
auth_tokenstring-
min_sizeint32-
cooldown_daysint32-
limitint32-

GetLabelEligibleClustersResponse

FieldTypeDescription
clustersEligibleCluster-

EligibleCluster

FieldTypeDescription
idint32-
membersint32-

SampleClusterTextsRequest

FieldTypeDescription
auth_tokenstring-
cluster_idint32-
sample_sizeint32-

SampleClusterTextsResponse

FieldTypeDescription
textsstring-

SetClusterLabelRequest

FieldTypeDescription
auth_tokenstring-
cluster_idint32-
labelstring-

SetClusterLabelResponse

ClusterRequest

FieldTypeDescription
auth_tokenstring-
datafloat-
n_pointsint32-
dimensionsint32-
min_cluster_sizeint32-

ClusterResponse

FieldTypeDescription
labelsint32-
probabilitiesfloat-
n_clustersint32-
centroidsCentroid-

Centroid

FieldTypeDescription
vectorfloat-

ModelInfoRequest

FieldTypeDescription
auth_tokenstring-

ModelInfoResponse

FieldTypeDescription
namestring-
dimensionsint32-
max_sequence_lengthint32-

← Back to API Index