-
Notifications
You must be signed in to change notification settings - Fork 38
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
[Feature] Redis embedding store spring boot starter #2
[Feature] Redis embedding store spring boot starter #2
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Martin7-1 thank you a lot and so sorry for the late review, somehow I overlooked PRs in this repository :(
...rc/main/java/dev/langchain4j/store/embedding/redis/spring/RedisEmbeddingStoreProperties.java
Outdated
Show resolved
Hide resolved
...ava/dev/langchain4j/store/embedding/redis/spring/RedisEmbeddingStoreAutoConfigurationIT.java
Outdated
Show resolved
Hide resolved
...ava/dev/langchain4j/store/embedding/redis/spring/RedisEmbeddingStoreAutoConfigurationIT.java
Outdated
Show resolved
Hide resolved
"langchain4j.redis.metadataFieldsName=test-key" | ||
) | ||
.run(context -> { | ||
EmbeddingStore<TextSegment> embeddingStore = context.getBean(RedisEmbeddingStore.class); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would also add a check that context.getBean(EmbeddingStore.class)
returns RedisEmbeddingStore
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The next line of code check it by assertThat(embeddingStore).isInstanceOf(RedisEmbeddingStore.class)
.
@langchain4j Hi! I've been done it with adding default dimension by |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Martin7-1 thank you!
Hi, I add
langchian4j-redis-spring-boot-starter
implementation. Test run correct in my local environment.btw, I'll add spring boot starters to the other vector stores in a few days. Waiting for your code reviews!