Skip to content

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

Merged
langchain4j merged 2 commits intolangchain4j:mainfrom
arey:feature/get-rid-of-lombok
Nov 7, 2024
Merged

Get rid of lombok for langchain4j-spring-boot-starter and langchain4j-open-ai-spring-boot-starter#49
langchain4j merged 2 commits intolangchain4j:mainfrom
arey:feature/get-rid-of-lombok

Conversation

@arey
Copy link
Copy Markdown
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
Copy Markdown
Collaborator

@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
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