Chroma.Database (chroma v0.1.3)

Basic operations to intereact with the database.

Summary

Functions

Returns the current state of the database.

Persists the database to disk.

Resets the database to its initial state.

Returns the current vesion of the Chroma database.

Functions

@spec heartbeat() :: {:ok, map()} | {:error, any()}

Returns the current state of the database.

@spec persist() :: {:ok, map()} | {:error, any()}

Persists the database to disk.

@spec reset() :: {:ok, map()} | {:error, any()}

Resets the database to its initial state.

@spec version() :: String.t()

Returns the current vesion of the Chroma database.