LettaAPI.Api.Embeddings (letta_api v1.0.0)

API calls for all endpoints tagged Embeddings.

Summary

Functions

Get Embeddings Total Storage Size Get the total size of all embeddings in the database for a user in the storage unit given.

Functions

get_total_storage_size(connection, opts \\ [])

@spec get_total_storage_size(
  Tesla.Env.client(),
  keyword()
) ::
  {:ok, number()}
  | {:ok, LettaAPI.Model.HttpValidationError.t()}
  | {:error, Tesla.Env.t()}

Get Embeddings Total Storage Size Get the total size of all embeddings in the database for a user in the storage unit given.

Parameters

  • connection (LettaAPI.Connection): Connection to server
  • opts (keyword): Optional parameters
    • :user_id (String.t):
    • :"storage-unit" (String.t):

Returns

  • {:ok, number()} on success
  • {:error, Tesla.Env.t} on failure