Skip to content

0.25.0

Compare
Choose a tag to compare
@langchain4j langchain4j released this 22 Dec 17:34
· 549 commits to main since this release

What's Changed

New Contributors

Breaking Changes

  • langchain4j-azure-open-ai module was completely reworked (using official Azure SDK now), there might be breaking changes when constructing models in the builders
  • langchain4j-spring-boot-starter module is replaced by separate langchain4j-*-spring-boot-starter modules for each provider, e.g. langchain4j-open-ai-spring-boot-starter, all available starters are here
  • Spring Boot properties changed: langchain4j.{model type}.{provider}.{property} -> langchain4j.{provider}.{model type}.{property}
  • dev.langchain4j.data.document.FileSystemDocumentLoader -> dev.langchain4j.data.document.loader.FileSystemDocumentLoader
  • Document parsers (PDF, MS Office) were extracted into their own modules, TextDocumentParser stays in langchain4j module
  • Amazon S3 loaders migrated to langchain4j-document-loader-amazon-s3 module
  • EmbeddingStoreIngestor moved into langchain4j-core, keeping the same package name
  • potential problems: mustache templates were replaced with simple implementation, but should be backwards compatible unless you used advanced features. You can still plug in mustache using SPI.

Full Changelog: 0.24.0...0.25.0