langchain4j

Java version of LangChain

APACHE-2.0 License

Stars
3.2K
Committers
155

Bot releases are visible (Hide)

langchain4j - 0.30.0 Latest Release

Published by langchain4j 6 months ago

Highlights

Other Changes

Bug Fixes

New Contributors

Full Changelog: https://github.com/langchain4j/langchain4j/compare/0.29.1...0.30.0

langchain4j - 0.29.1

Published by langchain4j 7 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/langchain4j/langchain4j/compare/0.29.0...0.29.1

langchain4j - 0.29.0

Published by langchain4j 7 months ago

Highlights

Other Changes

New Contributors

Full Changelog: https://github.com/langchain4j/langchain4j/compare/0.28.0...0.29.0

langchain4j - 0.28.0

Published by langchain4j 7 months ago

New Integrations

New Core Features

Notable Updates

Other Updates

New Contributors

Full Changelog: https://github.com/langchain4j/langchain4j/compare/0.27.1...0.28.0

langchain4j - 0.27.1

Published by langchain4j 8 months ago

What's Changed

Full Changelog: https://github.com/langchain4j/langchain4j/compare/0.27.0...0.27.1

langchain4j - 0.27.0

Published by langchain4j 8 months ago

New Integrations

Embedding Stores

Embedding Models

Notable Updates

Other Updates

New Contributors

Full Changelog: https://github.com/langchain4j/langchain4j/compare/0.26.1...0.27.0

langchain4j - 0.26.1

Published by langchain4j 9 months ago

New Core Features:

New Integrations:

Model providers:

Embedding Stores:

Document Loaders:

Notable Updates:

Technical Improvements and Bugfixes:

New Contributors

Full Changelog: https://github.com/langchain4j/langchain4j/compare/0.25.0...0.26.0

langchain4j - 0.25.0

Published by langchain4j 10 months ago

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: https://github.com/langchain4j/langchain4j/compare/0.24.0...0.25.0

langchain4j - 0.24.0

Published by langchain4j 11 months ago

  • 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
langchain4j - 0.23.0

Published by langchain4j about 1 year ago

  • 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
langchain4j - 0.22.0

Published by langchain4j about 1 year ago

langchain4j - 0.21.0

Published by langchain4j about 1 year ago

langchain4j - 0.20.0

Published by langchain4j about 1 year ago

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)

langchain4j - 0.19.0

Published by langchain4j about 1 year ago

langchain4j - 0.18.0

Published by langchain4j about 1 year ago

langchain4j - 0.17.0

Published by langchain4j about 1 year ago

Added in-process embedding models:

  • all-minilm-l6-v2
  • all-minilm-l6-v2-q
  • e5-small-v2
  • e5-small-v2-q

The idea is to give users an option to embed documents/texts in the same Java process without any external dependencies.
ONNX Runtime is used to run models inside JVM.
Each model resides in it's own maven module (inside the jar).

langchain4j - 0.16.0

Published by langchain4j over 1 year ago

Added more request parameters for OpenAi models:

  • top_p
  • max_tokens
  • presence_penalty
  • frequency_penalty
langchain4j - 0.15.0

Published by langchain4j over 1 year ago

You can now try out OpenAI's gpt-3.5-turbo and text-embedding-ada-002 models with LangChain4j for free, without needing an OpenAI account and keys!
Simply use the API key "demo".

langchain4j - 0.14.0

Published by langchain4j over 1 year ago

  • Simplified API for all models by removing Result class. Now models return results (AiMessage/Embedding/Moderation/etc) directly, without wrapping it into Result object.
  • Fixed a bug that prevented using @UserMessage in AI Services.
langchain4j - 0.13.0

Published by langchain4j over 1 year ago

  • Added EmbeddingStoreIngestor
  • Redesigned document loaders (see FileSystemDocumentLoader)
  • Simplified ConversationalRetrievalChain
  • Renamed DocumentSegment into TextSegment
  • Added output parsers for numeric types
  • Added @UserName for AI Services
  • Fixed 24