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

Get rid of lombok for langchain4j-spring-boot-starter and langchain4j-open-ai-spring-boot-starter #49

Merged
merged 2 commits into from
Nov 7, 2024

Conversation

arey
Copy link
Contributor

@arey arey commented Oct 29, 2024

Issue

Langchain4j project issue: langchain4j/langchain4j#1636

Change

Get rid of lombok from 2 modules: langchain4j-spring-boot-starter and langchain4j-open-ai-spring-boot-starter.
I'll use java record for class annotated with @ConfigurationProperties.
I don't have any credentials/API keys to refactor then test others modules.

General checklist

  • There are no breaking changes
  • I have added unit and integration tests for my change
  • I have manually run all the unit and integration tests in the module I have added/changed, and they are all green
  • I have manually run all the unit and integration tests in the core and main modules, and they are all green

Checklist for adding new maven module

  • I have added my new module in the root pom.xml and langchain4j-bom/pom.xml

Checklist for adding new embedding store integration

  • I have added a {NameOfIntegration}EmbeddingStoreIT that extends from either EmbeddingStoreIT or EmbeddingStoreWithFilteringIT
  • I have added a {NameOfIntegration}EmbeddingStoreRemovalIT that extends from EmbeddingStoreWithRemovalIT

Checklist for changing existing embedding store integration

  • I have manually verified that the {NameOfIntegration}EmbeddingStore works correctly with the data persisted using the latest released version of LangChain4j

Copy link
Owner

@langchain4j langchain4j left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@arey thanks a lot!

@langchain4j langchain4j merged commit 36ac085 into langchain4j:main Nov 7, 2024
1 check passed
qing-wq pushed a commit to qing-wq/langchain4j-spring that referenced this pull request Nov 20, 2024
…-open-ai-spring-boot-starter (langchain4j#49)

## Issue

Langchain4j project issue:
langchain4j/langchain4j#1636

## Change

Get rid of lombok from 2 modules: `langchain4j-spring-boot-starter` and
`langchain4j-open-ai-spring-boot-starter`.
I'll use java `record` for class annotated with
`@ConfigurationProperties`.
I don't have any credentials/API keys to refactor then test others
modules.

## General checklist
- [X] There are no breaking changes
- [ ] I have added unit and integration tests for my change
- [X] I have manually run all the unit and integration tests in the
module I have added/changed, and they are all green
- [ ] I have manually run all the unit and integration tests in the
[core](https://github.com/langchain4j/langchain4j/tree/main/langchain4j-core)
and
[main](https://github.com/langchain4j/langchain4j/tree/main/langchain4j)
modules, and they are all green
- [ ] I have added/updated the
[documentation](https://github.com/langchain4j/langchain4j/tree/main/docs/docs)
- [ ] I have added an example in the [examples
repo](https://github.com/langchain4j/langchain4j-examples) (only for
"big" features)
- [ ] I have added/updated [Spring Boot
starter(s)](https://github.com/langchain4j/langchain4j-spring) (if
applicable)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants