Skip to content

Is there a way to vectorize at the object level when using Weaviate as vector database? #813

Answered by langchain4j
junbetterway asked this question in Q&A
Discussion options

You must be logged in to vote

HI @junbetterway sorry for the late response.

The link you provided describes extra Weaviate modules that can perform embedding/vectorization inside the Weaviate itself. This is not supported in LC4j API now. Now you cna use any EmbeddingModel to do embedding/vectorization and then store it into Weaviate or any other EmbeddingStore inplementation.

Could you elaborate more on your use case? Do mean you want to store some metadata associated with the text and then access it after relevant segments are found? This is already supported, you can put extra fields into TextSegment.Metadata.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@junbetterway
Comment options

Answer selected by junbetterway
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants