Structs

  • Sends HTTP request to the Aleph Alpha API
  • Completion and metainformation returned by a completion task
  • Controls of how to execute a task
  • A prompt which is passed to the model for inference. Usually it is one text item, but it could also be a combination of several modalities like images and text.
  • Sampling controls how the tokens (“words”) are selected for the completion.
  • Controls the conditions under which the language models stops generating text.
  • Completes a prompt. E.g. continues a text.
  • Create embeddings for prompts which can be used for downstream tasks. E.g. search, classifiers

Enums

  • Errors returned by the Aleph Alpha Client
  • The prompt for models can be a combination of different modalities (Text and Image). The type of modalities which are supported depend on the Model in question.
  • Allows you to choose a semantic representation fitting for your usecase.

Traits

  • A task send to the Aleph Alpha Api using the http client.

Functions