Reposition query handlers #500
Labels
cocoindex-core
CocoIndex Core Engine
enhancement
New feature or request
python-sdk
CocoIndex Python SDK
Uh oh!
There was an error while loading. Please reload this page.
CocoIndex, as a framework focusing on indexing / preparing data to be used for queries, also provides light query handlers (example) for pragmatic reasons.
The current query handler in cocoindex serves a mixed of purpose:
However, CocoIndex is not limited to a single storage target - besides Postgres, it started to supports Qdrant and Neo4j, and is going to support more and more. Different targets have quite different capabilities regarding query. This approach is not going to scale well.
From now on, we want to encourage users to directly query the target storage using existing solutions in the eco-system (db drivers, ORM, etc.) which is usually not difficult, which provides maximum flexibility. We'll provide bridges for purpose of 2 and 3, allowing users to directly invoke part of the flow logic, and expose custom query functions.
The text was updated successfully, but these errors were encountered: