Update langchain4j.version to v1.0.0-beta1 #76
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.0.0-alpha1
->1.0.0-beta1
1.0.0-alpha1
->1.0.0-beta1
Release Notes
langchain4j/langchain4j (dev.langchain4j:langchain4j-bom)
v1.0.0-beta1
Compare Source
Announcements
ChatLanguageModel.generate(...)
andStreamingChatLanguageModel.generate(...)
APIs in favour of the newChatLanguageModel.chat(...)
andStreamingChatLanguageModel.chat(...)
APIs. We plan to fully migrate all of our chat model integrations to the newchat()
API in the upcoming releases. If you have any concerns or comments, please reach out.langchain4j-ollama
dependency,Ollama*Model
s will now use JDK'sHttpClient
by default. When using thelangchain4j-ollama-spring-boot-starter
dependency,Ollama*Model
s will now use Spring'sRestClient
. 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
ContainsString
metadata filter by @florian-h05 in https://github.com/langchain4j/langchain4j/pull/2344Breaking Changes
modelName
(gpt-3.5-turbo
) andtemperature
(0.7
) forOpenAiChatModel
andOpenAiStreamingChatModel
. Please set those values explicitly.Document
andContent
into interfaces. If you useDocument
orContent
constructors, please either use theDocument.from(...)
/Content.from(...)
static factories, or use theDefaultDocument
/DefaultContent
constructors.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 theChatModelListener.onError()
any more in order to simplify the design and implementation. Please reach out if you have any concerns about it.OpenAiChatModel
andOpenAiStreamingChatModel
: if themaxCompletionTokens
property is set, it's value is now not propagated into theChatModelListener
viaChatModelRequest.maxTokens()
.AzureOpenAiImageModel
,AzureOpenAiLanguageModel
andAzureOpenAiStreamingLanguageModel
.langchain4j-redis
maven artifact intolangchain4j-community-redis
.IllegalConfigurationException
from thedev.langchain4j.exception
into thedev.langchain4j.service
package.Potentially Breaking Changes
HttpClient
and Spring'sRestClient
by @dliubarskyi in https://github.com/langchain4j/langchain4j/pull/2413 and https://github.com/langchain4j/langchain4j-spring/pull/104Updates in the Spring Boot integration
See https://github.com/langchain4j/langchain4j-spring/releases/tag/1.0.0-beta1
Other Changes
langchain4j
andlangchain4j-core
by @Martin7-1 in https://github.com/langchain4j/langchain4j/pull/2337New Contributors
Full Changelog: langchain4j/langchain4j@1.0.0-alpha1...1.0.0-beta1
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.