Dominevo
ReferenceHTTP API

embeddingEncoder

The embeddingEncoder router: 4 methods of the embedding-encoder capability, with tier, scope, input and output.

Capability embedding-encoder · scope system · mode collection · source packages/types/src/capabilities/embedding-encoder.cap.ts:203.

Every method is called at /trpc/embeddingEncoder.<method> — queries with GET, mutations with POST. See How to call and Authorization.

MethodKindTierToken scopeViewer
encodequeryadminadmin onlyno
encodeTextqueryadminadmin onlyno
getInfoqueryadminadmin onlyno
resetFailedModelsmutationadminadmin onlyno

embeddingEncoder.encode

  • Kind: query — GET /trpc/embeddingEncoder.encode
  • Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
  • Token scope: none — the admin tier needs an administrator (a * token or an admin session)
  • Viewer: no
  • Try it: open /system/api-explorer?method=embeddingEncoder.encode on your hub

Input

{ crop: <custom>; width: number; height: number }

Output

EmbeddingResultSchema

Shapes: EmbeddingResultSchema

embeddingEncoder.encodeText

  • Kind: query — GET /trpc/embeddingEncoder.encodeText
  • Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
  • Token scope: none — the admin tier needs an administrator (a * token or an admin session)
  • Viewer: no
  • Try it: open /system/api-explorer?method=embeddingEncoder.encodeText on your hub

Input

{ text: string; modelId?: string }

Output

EmbeddingResultSchema

Shapes: EmbeddingResultSchema

embeddingEncoder.getInfo

  • Kind: query — GET /trpc/embeddingEncoder.getInfo
  • Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
  • Token scope: none — the admin tier needs an administrator (a * token or an admin session)
  • Viewer: no
  • Try it: open /system/api-explorer?method=embeddingEncoder.getInfo on your hub

Input

void

Output

EmbeddingInfoSchema

Shapes: EmbeddingInfoSchema

embeddingEncoder.resetFailedModels

  • Kind: mutation — POST /trpc/embeddingEncoder.resetFailedModels
  • Tier: admin — an administrator; a viewer only as the Viewer line says; never a scoped token
  • Token scope: none — the admin tier needs an administrator (a * token or an admin session)
  • Viewer: no
  • Try it: open /system/api-explorer?method=embeddingEncoder.resetFailedModels on your hub

Input

{ modelId?: string }

Output

{ cleared: string[]; nodeId: string }