0.25.0
版本发布时间: 2023-12-23 01:34:20
langchain4j/langchain4j最新发布版本:0.30.0(2024-04-17 00:22:35)
What's Changed
- Update README.md by @aashish13 in https://github.com/langchain4j/langchain4j/pull/281
- Cleanup Testcontainers deps by @eddumelendez in https://github.com/langchain4j/langchain4j/pull/292
- Feature/elastic search restclient constructor by @aphethean1 in https://github.com/langchain4j/langchain4j/pull/291
- build most modules with jdk 8 by @langchain4j in https://github.com/langchain4j/langchain4j/pull/295
- Graal Integration for Local JS and Python Execution by @janglada in https://github.com/langchain4j/langchain4j/pull/263
- graal: cleanup by @langchain4j in https://github.com/langchain4j/langchain4j/pull/297
- Fix a token usage statistical issue in DefaultAiServices by @jiangsier-xyz in https://github.com/langchain4j/langchain4j/pull/280
- pass OpenSearchClient directly to OpenSearchEmbeddingStore by @sboeckelmann in https://github.com/langchain4j/langchain4j/pull/309
- #299 Add null check for ToolsParameters in tokenCountEstimation by @kumlien in https://github.com/langchain4j/langchain4j/pull/303
- Add note about Quarkus specific examples by @geoand in https://github.com/langchain4j/langchain4j/pull/329
- Fix PG Vector Index creation statement incorrect by @pascalconfluent in https://github.com/langchain4j/langchain4j/pull/302
- Use Testcontainers annotation by @eddumelendez in https://github.com/langchain4j/langchain4j/pull/310
- Use ElasticsearchContainer in Elasticsearch IT by @eddumelendez in https://github.com/langchain4j/langchain4j/pull/312
- Use Testcontainers in Chroma IT by @eddumelendez in https://github.com/langchain4j/langchain4j/pull/313
- Enable Milvus IT by using Testcontainers by @eddumelendez in https://github.com/langchain4j/langchain4j/pull/314
- Use Testcontainers in Ollama IT by @eddumelendez in https://github.com/langchain4j/langchain4j/pull/315
- Enhanced QWen Model Features and Tokenizer Implementation by @jiangsier-xyz in https://github.com/langchain4j/langchain4j/pull/317
- Use Testcontainers to run LocalAI by @eddumelendez in https://github.com/langchain4j/langchain4j/pull/331
- enable langchain4j-graal build in workflow by @shalk in https://github.com/langchain4j/langchain4j/pull/333
- Use Testcontainers for Weaviate IT by @eddumelendez in https://github.com/langchain4j/langchain4j/pull/332
- Migration of the AzureOpenAiChatModel to use the Azure OpenAI SDK by @jdubois in https://github.com/langchain4j/langchain4j/pull/328
- OpenAI: Support parallel tool calling by @langchain4j in https://github.com/langchain4j/langchain4j/pull/338
- spring-boot-starter add azure openai support by @QuantumBear in https://github.com/langchain4j/langchain4j/pull/339
- make OpenAI tokenizer more precise by @langchain4j in https://github.com/langchain4j/langchain4j/pull/346
- Support Java 21 by @jdubois in https://github.com/langchain4j/langchain4j/pull/336
- Bump org.json:json from 20230618 to 20231013 in /langchain4j-cassandra by @dependabot in https://github.com/langchain4j/langchain4j/pull/341
- Add Dev Container support by @jdubois in https://github.com/langchain4j/langchain4j/pull/337
- Correctly configure Maven wrapper by @jdubois in https://github.com/langchain4j/langchain4j/pull/348
- fix the thread safety issue in InMemoryEmbeddingStore. by @lexluo09 in https://github.com/langchain4j/langchain4j/pull/351
- Remove quarkus module by @geoand in https://github.com/langchain4j/langchain4j/pull/345
- Migrate to the new Azure OpenAI 1.0.0-beta.6 SDK by @jdubois in https://github.com/langchain4j/langchain4j/pull/356
- Update GitHub Actions versions by @jdubois in https://github.com/langchain4j/langchain4j/pull/357
- Extract document loaders and parsers into separate modules by @langchain4j in https://github.com/langchain4j/langchain4j/pull/354
- Allow for specifying the organization id in the configuration by @edeandrea in https://github.com/langchain4j/langchain4j/pull/364
- Fixes #241: Added support for Neo4j Vector Index by @vga91 in https://github.com/langchain4j/langchain4j/pull/282
- feat: add OllamaChatModel and its corresponding integration test by @fintanmm in https://github.com/langchain4j/langchain4j/pull/323
- OpenAI DALL·E support by @Heezer in https://github.com/langchain4j/langchain4j/pull/298
- bumped version to 0.25.0-SNAPSHOT by @langchain4j in https://github.com/langchain4j/langchain4j/pull/369
- Removed generic AiMessage ctor by @langchain4j in https://github.com/langchain4j/langchain4j/pull/370
- Fix Neo4jEmbeddingStoreTest error by @vga91 in https://github.com/langchain4j/langchain4j/pull/368
- Integration with ChatGLM by @Martin7-1 in https://github.com/langchain4j/langchain4j/pull/360
- Add image generation support with Azure OpenAI by @jdubois in https://github.com/langchain4j/langchain4j/pull/359
- #365: handle enum arguments in tools properly by @langchain4j in https://github.com/langchain4j/langchain4j/pull/367
- Add support for "stop" in Azure OpenAI by @jdubois in https://github.com/langchain4j/langchain4j/pull/372
- Azure OpenAI: add tests for GPT 4 by @jdubois in https://github.com/langchain4j/langchain4j/pull/371
- Extracted OpenAI Spring Boot starter into a separate module by @langchain4j in https://github.com/langchain4j/langchain4j/pull/361
- Update Ollama by @langchain4j in https://github.com/langchain4j/langchain4j/pull/373
- OpenAI: added missing parameters (logit_bias, response_format, seed, user) by @langchain4j in https://github.com/langchain4j/langchain4j/pull/374
- Support Google Vertex AI Gemini by @langchain4j in https://github.com/langchain4j/langchain4j/pull/402
- rename langchain4j-graal module by @langchain4j in https://github.com/langchain4j/langchain4j/pull/405
- Add support for the 3 authentication methods to Azure OpenAI by @jdubois in https://github.com/langchain4j/langchain4j/pull/375
- fix pinecone QueryRequest usage, upgrade from 0.2.1 to 0.6.0 by @shalk in https://github.com/langchain4j/langchain4j/pull/406
- fixed pinecone client CVEs by @langchain4j in https://github.com/langchain4j/langchain4j/pull/409
- Replace Mustache templates with simple implementation to reduce transitive dependencies by @langchain4j in https://github.com/langchain4j/langchain4j/pull/408
- 385 Metadata takes ownership of its construction Map<String, String> by @langchain4j in https://github.com/langchain4j/langchain4j/pull/412
- Metadata: deprecated potentially confusing add/from/metadata(String, Object) methods by @langchain4j in https://github.com/langchain4j/langchain4j/pull/413
- Fixed (#264) by @langchain4j in https://github.com/langchain4j/langchain4j/pull/414
New Contributors
- @aashish13 made their first contribution in https://github.com/langchain4j/langchain4j/pull/281
- @eddumelendez made their first contribution in https://github.com/langchain4j/langchain4j/pull/292
- @aphethean1 made their first contribution in https://github.com/langchain4j/langchain4j/pull/291
- @janglada made their first contribution in https://github.com/langchain4j/langchain4j/pull/263
- @sboeckelmann made their first contribution in https://github.com/langchain4j/langchain4j/pull/309
- @kumlien made their first contribution in https://github.com/langchain4j/langchain4j/pull/303
- @shalk made their first contribution in https://github.com/langchain4j/langchain4j/pull/333
- @jdubois made their first contribution in https://github.com/langchain4j/langchain4j/pull/328
- @QuantumBear made their first contribution in https://github.com/langchain4j/langchain4j/pull/339
- @dependabot made their first contribution in https://github.com/langchain4j/langchain4j/pull/341
- @lexluo09 made their first contribution in https://github.com/langchain4j/langchain4j/pull/351
- @edeandrea made their first contribution in https://github.com/langchain4j/langchain4j/pull/364
- @vga91 made their first contribution in https://github.com/langchain4j/langchain4j/pull/282
- @fintanmm made their first contribution in https://github.com/langchain4j/langchain4j/pull/323
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 separatelangchain4j-*-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 inlangchain4j
module - Amazon S3 loaders migrated to langchain4j-document-loader-amazon-s3 module
-
EmbeddingStoreIngestor
moved intolangchain4j-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