soev for developers
soev-retrieval

Overview

Search a vector store through one protocol, with Weaviate and pgvector adapters and a contract suite for each store.

soev-retrieval defines one protocol for a vector store. An agent searches each store through that protocol, so a store can change without a change to the agent. The package has a stock store for Weaviate and one for pgvector, and a contract suite that tests a store against the protocol.

Install

soev-retrieval needs Python 3.12 or later. It has no dependencies without an extra.

pip install "soev-retrieval[pgvector]"
ExtraAdds
weaviateThe Weaviate client, for the Weaviate store
pgvectorpsycopg and its connection pool, for the pgvector store
testingpytest and pytest-asyncio, for the contract suite in soev_retrieval.testing

Where to start

On this page