AITRE API Documents(English)
  1. Embeddings Interface(Embeddings)
AITRE API Documents(English)
  • AITRE Introduction
  • Project Description
  • Send Request
  • Openai's format(Chat)
    • Gpt-4o-image(Generate Image)
      POST
    • Chat Completions Interface
      POST
  • Audio Interface(Audio)
    • TTS(speech-to-text)
      POST
    • Transcriptions
      POST
    • Translations
      POST
  • Embeddings Interface(Embeddings)
    • Embeddings
    • Create Embeddings
      POST
  • Images Generations(Images)
    • Openai's format Gpt-image-1
      POST
    • Openai's format Flux
      POST
    • Openai's format DALL·E 3
      POST
  • Models Interface(Models)
    • Model
      GET
  • Auto Completions Interface(Completions)
    • Completions
      POST
  • MidJourney
    • Description
    • Fetch task by id
      GET
    • Action
      POST
    • Blend(image to image)
      POST
    • Describe (image to text)
      POST
    • Imagine (text to image/image to image)
      POST
    • Modal(Partial redrawing、ZOOM)
      POST
    • Shorten(prompt analysis)
      POST
  1. Embeddings Interface(Embeddings)

Embeddings

Embeddings#

Get the vector representation of a given input, which can be easily used by machine learning models and algorithms.
Related guide: Embeddings

Embedding Object#

Represents the embedding vector returned by the embedding endpoint.
index/integer
The index of the embedding in the list of embeddings.
embedding/array
The embedding vector, which is a list of floating-point numbers. The length of the vector depends on the model listed in the Embedding Guide.
object/string
The object type, always "embedding".
{
  "object": "embedding",
  "embedding": [
    0.0023064255,
    -0.009327292,
    .... (1536 floats total for ada-002)
    -0.0028842222,
  ],
  "index": 0
}
Modified at 2025-03-30 03:31:23
Previous
Translations
Next
Create Embeddings
Built with