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

Bump dev.langchain4j:langchain4j from 1.0.0-alpha1 to 1.0.0-beta1 #94

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 13, 2025

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps dev.langchain4j:langchain4j from 1.0.0-alpha1 to 1.0.0-beta1.

Release notes

Sourced from dev.langchain4j:langchain4j's releases.

1.0.0-beta1

Announcements

  • We are deprecating our old ChatLanguageModel.generate(...) and StreamingChatLanguageModel.generate(...) APIs in favour of the new ChatLanguageModel.chat(...) and StreamingChatLanguageModel.chat(...) APIs. We plan to fully migrate all of our chat model integrations to the new chat() API in the upcoming releases. If you have any concerns or comments, please reach out.
  • We have started decoupling our modules from OkHttp client. Ollama is the first module that has been migrated as part of this release. When using the langchain4j-ollama dependency, Ollama*Models will now use JDK's HttpClient by default. When using the langchain4j-ollama-spring-boot-starter dependency, Ollama*Models will now use Spring's RestClient. This change reduces unnecessary dependencies, enables out-of-the-box observability and makes it easy to customize supported HTTP clients or integrate other HTTP clients. We plan to migrate a few other modules (OpenAI, Anthropic, Mistral, Hugging Face, etc.) in the future releases. If you have any concerns or comments, please reach out.

Notable Changes

Breaking Changes

  • langchain4j/langchain4j#2450: Removed default values for modelName (gpt-3.5-turbo) and temperature (0.7) for OpenAiChatModel and OpenAiStreamingChatModel. Please set those values explicitly.
  • langchain4j/langchain4j#1988: Converted Document and Content into interfaces. If you use Document or Content constructors, please either use the Document.from(...)/Content.from(...) static factories, or use the DefaultDocument/DefaultContent constructors.
  • langchain4j/langchain4j#2403:
    • OpenAiStreamingChatModel: in case of errors that happen in the middle of streaming, partial response (everything that was streamed before the error occured) is not propagated into the ChatModelListener.onError() any more in order to simplify the design and implementation. Please reach out if you have any concerns about it.
    • OpenAiChatModel and OpenAiStreamingChatModel: if the maxCompletionTokens property is set, it's value is now not propagated into the ChatModelListener via ChatModelRequest.maxTokens().
  • langchain4j/langchain4j#2330: Exceptions due to content policy violation are now propagated from AzureOpenAiImageModel, AzureOpenAiLanguageModel and AzureOpenAiStreamingLanguageModel.
  • langchain4j/langchain4j#2436:
  • langchain4j/langchain4j#2492: Renamed langchain4j-redis maven artifact into langchain4j-community-redis.
  • langchain4j/langchain4j#2466: Moved IllegalConfigurationException from the dev.langchain4j.exception into the dev.langchain4j.service package.

Potentially Breaking Changes

Updates in the Spring Boot integration

See https://github.com/langchain4j/langchain4j-spring/releases/tag/1.0.0-beta1

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [dev.langchain4j:langchain4j](https://github.com/langchain4j/langchain4j) from 1.0.0-alpha1 to 1.0.0-beta1.
- [Release notes](https://github.com/langchain4j/langchain4j/releases)
- [Commits](langchain4j/langchain4j@1.0.0-alpha1...1.0.0-beta1)

---
updated-dependencies:
- dependency-name: dev.langchain4j:langchain4j
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Feb 13, 2025
@ehsavoie ehsavoie closed this Feb 14, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 14, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/maven/dev.langchain4j-langchain4j-1.0.0-beta1 branch February 14, 2025 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant