Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Gemfire VectorStore Auto-Configuration #599

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

PhilKes
Copy link

@PhilKes PhilKes commented Apr 18, 2024

This PR closes #488

  • Adds Auto-Configuration for GemFire VectorStore
  • Adds GemFireVectorStoreProperties to set all config parameters

TODO:

As suggested in #488 (comment) I tried to implement the integration tests with the https://hub.docker.com/r/gemfire/gemfire Image with a custom docker-compose.yml to add the GemFire VectorDB extension.

The first problem I encountered is that you have to be logged in or provide an VMWare API Key in order to download the extension (.gfm file), therefore I had to manually download an add the .gfm file to the repo.

The second problem is that the extension is mounted into the /gemfire/extensions which is successfully picked up in the class-path:

gemfire-gemfire-1  | Class Path:
gemfire-gemfire-1  |   /gemfire/lib/geode-core-9.15.11.jar
gemfire-gemfire-1  |   /gemfire/lib/geode-server-all-9.15.11.jar
gemfire-gemfire-1  |   /gemfire/extensions/vmware-gemfire-vectordb-1.1.0.gfm

But the VectorDB REST API is only returning 404s.
This setup works when I start GemFire locally and with the .gfm file in the extensions folder, I can then request e.g. GET http://localhost:7070/gemfire-vectordb/v1/indexes and get a 200 with an empty list, but it does not work with the Docker image, does anybody have any suggestions why?
The general GemFire API does work with Docker (e.g. GET http://localhost:7070/gemfire-api/v1/ping), but not the VectorDB API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Auto-configuration and Boot starter for the GemFire Vector Store
3 participants