upstash / semantic-cache

A fuzzy key value store based on semantic similarity rather lexical equality.
MIT License
243 stars 5 forks source link

Support index namespace #3

Open shuding opened 4 months ago

shuding commented 4 months ago

From the implementation I don't see why an index is required but not an index namespace. Would be nice to allow that to use an existing index but prevent potential conflicts.

ytkimirti commented 3 months ago

Makes sense, I opened a ticket for this. Thanks for the suggestion

ogzhanolguncu commented 3 months ago

@shuding This is now supported.

GuiBibeau commented 1 month ago

@ogzhanolguncu I see it's indeed supported from the addition in the codebase. However 1.0.3 typedefs don't seem to include the additional field in the constructor of a cache. Is that expected?