cellarium-ai / cellarium-cloud

Cellarium Cloud Core Library
BSD 3-Clause "New" or "Revised" License
5 stars 1 forks source link

REST API index support #141

Closed nmalfroy closed 7 months ago

nmalfroy commented 7 months ago

Sorry, this PR got a little big but I think it does some good stuff. I tried to organize commit-by-commit so that should make a little more consumable.

Vertex AI Vector search allows you to configure an index to be hosted using the a REST (as opposed to gRPC) approach. This is a lot easier to debug and interact with but might be a little slower so we want to give users the option to do both. Because both use fairly different APIs, the interaction was wrapped in a common interface with a common MatchResult class. With this PR we will have the choice of which endpoint method to use per vector search index.

So in more detail, what does this PR do:

General things: