Skip to content

Releases: langchain4j/langchain4j

0.27.1

09 Feb 14:01
c1462c0
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.27.0...0.27.1

0.27.0

09 Feb 06:58
Compare
Choose a tag to compare

New Integrations

Embedding Stores

Embedding Models

Notable Updates

  • Reworked support of AstraDB and Cassandra by @clun in #548
  • Nested POJO extract by @tenpigs267 in #575
  • Azure OpenAI: added support for responseFormat and other parameters by @jdubois in #605
  • #588: Implemented a fallback strategy for LanguageModelQueryRouter by @langchain4j in #593

Other Updates

New Contributors

Full Changelog: 0.26.1...0.27.0

0.26.1

30 Jan 07:05
3958e01
Compare
Choose a tag to compare

New Core Features:

New Integrations:

Model providers:

Embedding Stores:

Document Loaders:

Notable Updates:

Technical Improvements and Bugfixes:

0.25.0

22 Dec 17:34
Compare
Choose a tag to compare

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

0.24.0

12 Nov 18:09
Compare
Choose a tag to compare
  • Integration with OpenSearch by @riferrei
  • Vertex AI: embed in batches of 5
  • Support of database name configuration for Milvus by @Heezer
  • OpenAI: added option to setup a custom Tokenizer, increased default timeouts to 60 seconds
  • Azure OpenAI: increased default timeouts to 60 seconds
  • Add support for custom base url for OpenAI model in Spring Boot starter by @marlukcz
  • Make some aspects of the project swappable by external integrations by @geoand
  • In case a model like Vertex does not have a ToolSpecification do not use the generate method expecting one by @SimonVerhoeven
  • Include metadata for custom Spring Boot properties by @ThomasVitale
  • Add support for loading documents from S3 by @jmgang
  • Add BOM to manage artifacts by @Martin7-1
  • Integration with PGVector by @kevin-wu-os
  • Add support for autocompletion of Boot configuration properties by @jkuipers
  • Integration with Ollama by @Martin7-1
  • Make AiServices swappable by external implementations by @geoand
  • Introduce SPI for HuggingFace by @geoand
  • Allow using another metadata key than text_segment in Pinecone by @Artur-
  • Typo fix in VertexAI support by @Heezer
  • Integration with Amazon Bedrock by @pascalconfluent
  • Adding Memory Id to Tool Method Call by @benedictstrube

0.23.0

29 Sep 12:32
Compare
Choose a tag to compare
  • Updates to models API: return Response<T> instead of T. Response<T> contains token usage and finish reason.
  • All model and embedding store integrations now live in their own modules
  • Integration with Vespa by @Heezer
  • Integration with Elasticsearch by @Martin7-1
  • Integration with Redis by @Martin7-1
  • Integration with Milvus by @IuriiKoval
  • Integration with Astra DB and Cassandra by @clun
  • Added support for overlap in document splitters
  • Some bugfixes and smaller improvements

0.22.0

29 Aug 17:14
1e8c5a2
Compare
Choose a tag to compare

0.21.0

19 Aug 13:52
Compare
Choose a tag to compare

0.20.0

14 Aug 11:12
Compare
Choose a tag to compare

Added an option to setup a proxy for OpenAI models (#93)

Added more pre-packaged in-process embedding models (#91):

InMemoryEmbeddingStore: return matches from highest to lowest (#90)

0.19.0

10 Aug 15:30
Compare
Choose a tag to compare