duckdb-embedding-search icon indicating copy to clipboard operation
duckdb-embedding-search copied to clipboard

Fast similarity search using DuckDB

Results 5 duckdb-embedding-search issues
Sort by recently updated
recently updated
newest added

DuckDB 0.10 supports vector search natively. Make a comparison

here we call as individual args ```py def function(text, model): ... ``` https://github.com/patricktrainer/duckdb-embedding-search/blob/fcf19ac196090df13fc237026a92e0eb5be1df72/src/operations.py#L139 and elsewhere we call as one ```py key = tuple(text, model) def function(key) ... ``` https://github.com/patricktrainer/duckdb-embedding-search/blob/fcf19ac196090df13fc237026a92e0eb5be1df72/src/operations.py#L47 the...

Fixes #2 Refactor code to use `EmbeddingKey` class for embedding operations. * **Introduce `EmbeddingKey` class:** - Add `EmbeddingKey` class to encapsulate `text` and `model` in `src/operations.py`. - Update functions in...