Skip to main content

Embeddings Commands

See Embeddings module docs for permissions and data model.

soat create-embeddings

Create embeddings

  • Method: POST
  • Path: /api/v1/embeddings

Usage

soat create-embeddings

Options

--input

Single text to embed.

  • Source: body
  • Required: no
  • Type: string
  • Example: The quick brown fox jumps over the lazy dog.
--inputs

Batch of texts to embed.

  • Source: body
  • Required: no
  • Type: array<string>
  • Example: ["The quick brown fox.","Pack my box with five dozen liquor jugs."]