Weaviate

Weaviate is an open-source vector database that stores both objects and vectors, allowing for the combination of vector search with structured filtering with the fault tolerance and scalability of a cloud-native database.

Getting started

# In `perSystem.process-compose.<name>`
{
  services.weaviate."weaviate1".enable = true;
}

Tips & Tricks

Environment variables

To see list of environment variables, see this link.

{
  services.weaviate."weaviate1" = {
    enable = true;
    environment = {
      AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED = true;
      QUERY_DEFAULTS_LIMIT = 100;
      DISABLE_TELEMETRY = true;
      LIMIT_RESOURCES = true;
      ENABLE_MODULES = ["text2vec-openai" "generative-openai"];
    };
  };
}

Use a different port

{
  services.weaviate."weaviate1" = {
    enable = true;
    port = 8080;
  };
}

Use a different data path

{
  services.weaviate."weaviate1" = {
    enable = true;
    dataDir = "./data";
  };
}
Links to this page