add Weaviate memory adapter

This commit is contained in:
Zain Hasan 2024-09-23 20:54:06 -04:00
parent 70fb70a71c
commit 49763c4452
5 changed files with 240 additions and 4 deletions

View file

@ -42,6 +42,15 @@ def available_providers() -> List[ProviderSpec]:
config_class="llama_stack.providers.adapters.memory.pgvector.PGVectorConfig",
),
),
remote_provider_spec(
Api.memory,
AdapterSpec(
adapter_id="weaviate",
pip_packages=EMBEDDING_DEPS + ["weaviate-client"],
module="llama_stack.providers.adapters.memory.weaviate",
provider_data_validator="llama_stack.providers.adapters.memory.weaviate.WeaviateRequestProviderData",
),
),
remote_provider_spec(
api=Api.memory,
adapter=AdapterSpec(