Erlang/BEAM NIF bindings for CozoDB using Rustler.
CozoDB is a FOSS embeddable, transactional, relational-graph-vector database, wiht a Datalog query engine and time travelling capability, perfect as the long-term memory for LLMs and AI.
- Erlang OTP26 and/or Elixir (latest)
- Rust 1.76.0
- macOS packages:
liblz4,libssl
- Linux packages:
build-essentialliblz4-devlibncurses-devlibsnappy-devlibssl-devliburing-devliburing-devliburing2pkg-config
Add the following to your rebar.config file.
{deps, [
{cozodb,
{git, "https://github.com/leapsight/cozodb.git", {branch, "master"}}
}
]}.Add the following to your mix.exs file.
defp deps do
[
{:cozodb,
git: "https://github.com/leapsight/cozodb.git",
branch: "master"
}
]