allow to add vector embeddings and metadata without content in vector databases.
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- ai, backend-api-design, databases
Research direction
Start by reading the VectorStore API and the Weaviate vector store integration mentioned in the issue, then trace the current add(documents) flow. Done should allow embeddings and metadata to be stored without duplicated content, while preserving empty content where a vector database requires it.
Written by the indexing model from the issue text.
Description
Expected Behavior
VectorStore api should have a flag that will allow to store vector embeddings without content(or empty content in case vector database doesn't support embeddings store without content).
for vector store, we can have a bool flag that will allow to sotore embeddings and metadata without content(by setting content as empty internally)
bool storeContent = false;
vectorStore.add(documents,storeContent);
Current Behavior
the given current implementation of vector store to add data is:
VectorStore vectorStore;
List<Doucment> documents = List.of(d1,d2);
vectorStore.add(documents);
Context
I am building an application to store religious scriptures along with original languages as well as their translations with contextual search features.
Given the complex nature of data relations, i am storing all data into RDBMS as it makes data management easy.
Given that metadata allows us to uniquely identify and fetch the content from vector database, i am storing vector embeddings along with full metadata into vector database via spring ai api.
However, current implementation also stores content along with metadata and embeddings, which results in huge data duplication, which i am trying to avoid.
I considered manually generating emebddings and store them into vector database without content, but current api implementation is too complex and documentation lacks any example/guideline to help implement that custom implementation.
No, i am not aware of any workarounds at the moment.
Note: I am using weaviate vector store api, but it should be true for all vector database embeddings.
Thank you
- Dominant language
- Java
- Stars
- 9.5k
- Forks
- 2.9k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 5
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from spring-projects/spring-ai
-
status: waiting-for-triage
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
spring-projects/spring-ai#7000 ·
-
status: waiting-for-triage
Difficulty 1/5 Under an hour Newbie friendliness 90/100
spring-projects/spring-ai#6998 ·
-
[Bug - MCP server] @McpTool error messages are emitted twice when the thrown exception has no cause Openstatus: waiting-for-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
spring-projects/spring-ai#6948 · 1 comment · 1 reaction ·
-
status: waiting-for-triage
Difficulty 1/5 Under an hour Newbie friendliness 90/100
spring-projects/spring-ai#6940 · 1 comment ·
-
status: waiting-for-triage
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
spring-projects/spring-ai#6928 · 1 comment ·
All issues in spring-projects/spring-ai
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 1/5 Under an hour Newbie friendliness 94/100
objectionary/hone-maven-plugin#1061 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
spring-projects/spring-modulith#1895 ·