[!WARNING]
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
langchain4j/langchain4j (dev.langchain4j:langchain4j-ollama)
### [`v0.34.0`](https://redirect.github.com/langchain4j/langchain4j/releases/tag/0.34.0)
[Compare Source](https://redirect.github.com/langchain4j/langchain4j/compare/0.33.0...0.34.0)
### New Integrations
- Google AI Gemini integration by [@glaforge](https://redirect.github.com/glaforge) in [https://github.com/langchain4j/langchain4j/pull/1695](https://redirect.github.com/langchain4j/langchain4j/pull/1695)
- Oracle Database Embedding Store by [@Michael-A-McMahon](https://redirect.github.com/Michael-A-McMahon) in [https://github.com/langchain4j/langchain4j/pull/1490](https://redirect.github.com/langchain4j/langchain4j/pull/1490)
- Couchbase Embedding Store by [@chedim](https://redirect.github.com/chedim) in [https://github.com/langchain4j/langchain4j/pull/1482](https://redirect.github.com/langchain4j/langchain4j/pull/1482)
- SearchApi integration by [@zambrinf](https://redirect.github.com/zambrinf) in [https://github.com/langchain4j/langchain4j/pull/1216](https://redirect.github.com/langchain4j/langchain4j/pull/1216)
### New Core Features
- AI Services: automatically extract JSON block before parsing LLM response by [@patpe](https://redirect.github.com/patpe) in [https://github.com/langchain4j/langchain4j/pull/1516](https://redirect.github.com/langchain4j/langchain4j/pull/1516)
- AI Services: return retrieved sources (RAG) when using TokenStream by [@patpe](https://redirect.github.com/patpe) in [https://github.com/langchain4j/langchain4j/pull/1527](https://redirect.github.com/langchain4j/langchain4j/pull/1527)
- AI Services: provide information about executed tools by [@hrhrng](https://redirect.github.com/hrhrng) in [https://github.com/langchain4j/langchain4j/pull/1647](https://redirect.github.com/langchain4j/langchain4j/pull/1647)
- AI Services: select tools dynamically by [@MiggiV2](https://redirect.github.com/MiggiV2) in [https://github.com/langchain4j/langchain4j/pull/1644](https://redirect.github.com/langchain4j/langchain4j/pull/1644)
### Notable Updates
- OpenAI: Structured Outputs by [@langchain4j](https://redirect.github.com/langchain4j) in [https://github.com/langchain4j/langchain4j/pull/1590](https://redirect.github.com/langchain4j/langchain4j/pull/1590)
- Ollama: support tools by [@bidek](https://redirect.github.com/bidek) in [https://github.com/langchain4j/langchain4j/pull/1558](https://redirect.github.com/langchain4j/langchain4j/pull/1558)
- Jlama: support tools by [@tjake](https://redirect.github.com/tjake) in [https://github.com/langchain4j/langchain4j/pull/1661](https://redirect.github.com/langchain4j/langchain4j/pull/1661)
- Elasticsearch: support approximative kNN search by [@dadoonet](https://redirect.github.com/dadoonet) in [https://github.com/langchain4j/langchain4j/pull/712](https://redirect.github.com/langchain4j/langchain4j/pull/712)
- Azure AI Search: support embedding removal by [@Devansh-Rastogi](https://redirect.github.com/Devansh-Rastogi) in [https://github.com/langchain4j/langchain4j/pull/1563](https://redirect.github.com/langchain4j/langchain4j/pull/1563)
- Chroma: support metadata filtering by [@Heezer](https://redirect.github.com/Heezer) in [https://github.com/langchain4j/langchain4j/pull/1556](https://redirect.github.com/langchain4j/langchain4j/pull/1556)
- Pinecone: support metadata filtering by [@hrhrng](https://redirect.github.com/hrhrng) in [https://github.com/langchain4j/langchain4j/pull/1601](https://redirect.github.com/langchain4j/langchain4j/pull/1601)
- Ollama: embed in batches by [@Martin7-1](https://redirect.github.com/Martin7-1) in [https://github.com/langchain4j/langchain4j/pull/1565](https://redirect.github.com/langchain4j/langchain4j/pull/1565)
### Potentially Breaking Changes
- OpenAI: migrate from Gson to Jackson by [@alexis779](https://redirect.github.com/alexis779) in [https://github.com/langchain4j/langchain4j/pull/1667](https://redirect.github.com/langchain4j/langchain4j/pull/1667)
- PgVector: migrate from Gson to Jackson by [@humcqc](https://redirect.github.com/humcqc) in [https://github.com/langchain4j/langchain4j/pull/1692](https://redirect.github.com/langchain4j/langchain4j/pull/1692)
- Redis: migrate from Gson to Jackson by [@Martin7-1](https://redirect.github.com/Martin7-1) in [https://github.com/langchain4j/langchain4j/pull/1694](https://redirect.github.com/langchain4j/langchain4j/pull/1694)
### Other Changes
- Fix DefaultPromptTemplateFactory RegExp for Android. by [@marble94](https://redirect.github.com/marble94) in [https://github.com/langchain4j/langchain4j/pull/1518](https://redirect.github.com/langchain4j/langchain4j/pull/1518)
- Ollama: added method to delete a model by [@bidek](https://redirect.github.com/bidek) in [https://github.com/langchain4j/langchain4j/pull/1557](https://redirect.github.com/langchain4j/langchain4j/pull/1557)
- fix: Use `NODE` type to check for the values type. by [@michael-simons](https://redirect.github.com/michael-simons) in [https://github.com/langchain4j/langchain4j/pull/1539](https://redirect.github.com/langchain4j/langchain4j/pull/1539)
- Bump com.azure:azure-storage-common from 12.25.1 to 12.26.0 by [@jdubois](https://redirect.github.com/jdubois) in [https://github.com/langchain4j/langchain4j/pull/1535](https://redirect.github.com/langchain4j/langchain4j/pull/1535)
- Bump com.azure:azure-storage-blob from 12.26.1 to 12.27.0 by [@jdubois](https://redirect.github.com/jdubois) in [https://github.com/langchain4j/langchain4j/pull/1534](https://redirect.github.com/langchain4j/langchain4j/pull/1534)
- Bump com.azure:azure-search-documents from 11.6.6 to 11.7.0 by [@jdubois](https://redirect.github.com/jdubois) in [https://github.com/langchain4j/langchain4j/pull/1533](https://redirect.github.com/langchain4j/langchain4j/pull/1533)
- Tavily: replace space with %20 in returned URLs by [@tienipia](https://redirect.github.com/tienipia) in [https://github.com/langchain4j/langchain4j/pull/1541](https://redirect.github.com/langchain4j/langchain4j/pull/1541)
- Add `langchain4j-embeddings` to BOM by [@boris-petrov](https://redirect.github.com/boris-petrov) in [https://github.com/langchain4j/langchain4j/pull/1529](https://redirect.github.com/langchain4j/langchain4j/pull/1529)
- fix bug: AiMessage text content is not copied when toolCalls are pres… by [@hrhrng](https://redirect.github.com/hrhrng) in [https://github.com/langchain4j/langchain4j/pull/1069](https://redirect.github.com/langchain4j/langchain4j/pull/1069)
- 1465 : Ensuring trailing / in retrofit baseurl by [@patpe](https://redirect.github.com/patpe) in [https://github.com/langchain4j/langchain4j/pull/1519](https://redirect.github.com/langchain4j/langchain4j/pull/1519)
- re [#1506](https://redirect.github.com/langchain4j/langchain4j/issues/1506) Enabling Maven (version) enforcer plugin in modules with no version conflicts by [@PrimosK](https://redirect.github.com/PrimosK) in [https://github.com/langchain4j/langchain4j/pull/1507](https://redirect.github.com/langchain4j/langchain4j/pull/1507)
- \[Bugfix 1458] Allowing web search results empty by [@czelabueno](https://redirect.github.com/czelabueno) in [https://github.com/langchain4j/langchain4j/pull/1570](https://redirect.github.com/langchain4j/langchain4j/pull/1570)
- Add timeout configuration item by [@1402564807](https://redirect.github.com/1402564807) in [https://github.com/langchain4j/langchain4j/pull/1573](https://redirect.github.com/langchain4j/langchain4j/pull/1573)
- feat: Added embedding-3 model support for zhipu by [@whyuds](https://redirect.github.com/whyuds) in [https://github.com/langchain4j/langchain4j/pull/1589](https://redirect.github.com/langchain4j/langchain4j/pull/1589)
- Added an option to setup a proxy for Cohere score model by [@MichaelDjj](https://redirect.github.com/MichaelDjj) in [https://github.com/langchain4j/langchain4j/pull/1592](https://redirect.github.com/langchain4j/langchain4j/pull/1592)
- added dimensions parameter to specify by user in AzureOpenAiEmbeddingModel by [@Devansh-Rastogi](https://redirect.github.com/Devansh-Rastogi) in [https://github.com/langchain4j/langchain4j/pull/1578](https://redirect.github.com/langchain4j/langchain4j/pull/1578)
- fix bug: AiMessage text content is not copied when toolCalls are pres… by [@hrhrng](https://redirect.github.com/hrhrng) in [https://github.com/langchain4j/langchain4j/pull/1576](https://redirect.github.com/langchain4j/langchain4j/pull/1576)
- support run integration tests for changed and dependent modules by [@Yellow--](https://redirect.github.com/Yellow--) in [https://github.com/langchain4j/langchain4j/pull/1185](https://redirect.github.com/langchain4j/langchain4j/pull/1185)
- Update mongodb-atlas.md by [@ashni-mongodb](https://redirect.github.com/ashni-mongodb) in [https://github.com/langchain4j/langchain4j/pull/1515](https://redirect.github.com/langchain4j/langchain4j/pull/1515)
- fix \[BUG] [#1585](https://redirect.github.com/langchain4j/langchain4j/issues/1585) by [@lane12138](https://redirect.github.com/lane12138) in [https://github.com/langchain4j/langchain4j/pull/1597](https://redirect.github.com/langchain4j/langchain4j/pull/1597)
- test GIB by [@langchain4j](https://redirect.github.com/langchain4j) in [https://github.com/langchain4j/langchain4j/pull/1598](https://redirect.github.com/langchain4j/langchain4j/pull/1598)
- Add file comments:ZhipuAiEmbeddingModel by [@jdzhang1221](https://redirect.github.com/jdzhang1221) in [https://github.com/langchain4j/langchain4j/pull/1607](https://redirect.github.com/langchain4j/langchain4j/pull/1607)
- Bump com.azure:azure-identity from 1.13.1 to 1.13.2 by [@jdubois](https://redirect.github.com/jdubois) in [https://github.com/langchain4j/langchain4j/pull/1609](https://redirect.github.com/langchain4j/langchain4j/pull/1609)
- Anthropic: Added model "Claude 3.5 Sonnet" to AnthropicChatModelName by [@anis-gha](https://redirect.github.com/anis-gha) in [https://github.com/langchain4j/langchain4j/pull/1616](https://redirect.github.com/langchain4j/langchain4j/pull/1616)
- EmbeddingStoreIT: use awaitility by [@langchain4j](https://redirect.github.com/langchain4j) in [https://github.com/langchain4j/langchain4j/pull/1610](https://redirect.github.com/langchain4j/langchain4j/pull/1610)
- Changes to deprecated models tests by [@zambrinf](https://redirect.github.com/zambrinf) in [https://github.com/langchain4j/langchain4j/pull/1531](https://redirect.github.com/langchain4j/langchain4j/pull/1531)
- re [#1506](https://redirect.github.com/langchain4j/langchain4j/issues/1506) Enabling Maven (version) enforcer plugin in `LangChain4j :: Integration :: OpenAI` module. by [@PrimosK](https://redirect.github.com/PrimosK) in [https://github.com/langchain4j/langchain4j/pull/1508](https://redirect.github.com/langchain4j/langchain4j/pull/1508)
- Bump micromatch from 4.0.5 to 4.0.8 in /docs by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/langchain4j/langchain4j/pull/1641](https://redirect.github.com/langchain4j/langchain4j/pull/1641)
- Bump com.azure:azure-storage-common from 12.26.0 to 12.26.1 by [@jdubois](https://redirect.github.com/jdubois) in [https://github.com/langchain4j/langchain4j/pull/1637](https://redirect.github.com/langchain4j/langchain4j/pull/1637)
- Bumps com.azure:azure-search-documents from 11.7.0 to 11.7.1 by [@jdubois](https://redirect.github.com/jdubois) in [https://github.com/langchain4j/langchain4j/pull/1638](https://redirect.github.com/langchain4j/langchain4j/pull/1638)
- Bumps com.azure:azure-storage-blob from 12.27.0 to 12.27.1 by [@jdubois](https://redirect.github.com/jdubois) in [https://github.com/langchain4j/langchain4j/pull/1639](https://redirect.github.com/langchain4j/langchain4j/pull/1639)
- re [#1506](https://redirect.github.com/langchain4j/langchain4j/issues/1506) Enabling Maven version enforcer plugin in `LangChain4j :: Integration :: Azure OpenAI` module. by [@PrimosK](https://redirect.github.com/PrimosK) in [https://github.com/langchain4j/langchain4j/pull/1509](https://redirect.github.com/langchain4j/langchain4j/pull/1509)
- feat: Enable batch embedding server side by [@philippart-s](https://redirect.github.com/philippart-s) in [https://github.com/langchain4j/langchain4j/pull/1643](https://redirect.github.com/langchain4j/langchain4j/pull/1643)
- Milvus - upgrade to Milvus SDK 2.3.9 by [@r0x07k](https://redirect.github.com/r0x07k) in [https://github.com/langchain4j/langchain4j/pull/1642](https://redirect.github.com/langchain4j/langchain4j/pull/1642)
- re [#1506](https://redirect.github.com/langchain4j/langchain4j/issues/1506) Enable Maven enforcer plugin and fix dependency conflict introduced by `okhttp` dependency in 19 modules. by [@PrimosK](https://redirect.github.com/PrimosK) in [https://github.com/langchain4j/langchain4j/pull/1645](https://redirect.github.com/langchain4j/langchain4j/pull/1645)
- Bump webpack from 5.89.0 to 5.94.0 in /docs by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/langchain4j/langchain4j/pull/1651](https://redirect.github.com/langchain4j/langchain4j/pull/1651)
- langchain4j-zhipu get rid of lombok by [@1402564807](https://redirect.github.com/1402564807) in [https://github.com/langchain4j/langchain4j/pull/1662](https://redirect.github.com/langchain4j/langchain4j/pull/1662)
- Bump com.azure:azure-ai-openai from 1.0.0-beta.10 to 1.0.0-beta.11 by [@jdubois](https://redirect.github.com/jdubois) in [https://github.com/langchain4j/langchain4j/pull/1656](https://redirect.github.com/langchain4j/langchain4j/pull/1656)
- Bump dashscope-sdk-java from 2.15.1 to 2.16.3 by [@jiangsier-xyz](https://redirect.github.com/jiangsier-xyz) in [https://github.com/langchain4j/langchain4j/pull/1654](https://redirect.github.com/langchain4j/langchain4j/pull/1654)
- Fix typo in readme by [@psilberk](https://redirect.github.com/psilberk) in [https://github.com/langchain4j/langchain4j/pull/1653](https://redirect.github.com/langchain4j/langchain4j/pull/1653)
- Add numCandidates setting to ElasticsearchConfigurationKnn by [@dadoonet](https://redirect.github.com/dadoonet) in [https://github.com/langchain4j/langchain4j/pull/1649](https://redirect.github.com/langchain4j/langchain4j/pull/1649)
- DashScope: Support ChatModelListener by [@jiangsier-xyz](https://redirect.github.com/jiangsier-xyz) in [https://github.com/langchain4j/langchain4j/pull/1669](https://redirect.github.com/langchain4j/langchain4j/pull/1669)
- langchain4j-elasticsearch get rid of lombok by [@Martin7-1](https://redirect.github.com/Martin7-1) in [https://github.com/langchain4j/langchain4j/pull/1671](https://redirect.github.com/langchain4j/langchain4j/pull/1671)
- langchain4j-redis get rid of lombok by [@Martin7-1](https://redirect.github.com/Martin7-1) in [https://github.com/langchain4j/langchain4j/pull/1670](https://redirect.github.com/langchain4j/langchain4j/pull/1670)
- DashScope: Support baseUrl in QwenEmbeddingModel by [@jiangsier-xyz](https://redirect.github.com/jiangsier-xyz) in [https://github.com/langchain4j/langchain4j/pull/1673](https://redirect.github.com/langchain4j/langchain4j/pull/1673)
- \[Feature] ApachePdfBoxDocumentParser should return metadata by [@zambrinf](https://redirect.github.com/zambrinf) in [https://github.com/langchain4j/langchain4j/pull/1475](https://redirect.github.com/langchain4j/langchain4j/pull/1475)
- Add ZhipuAi no argument constructor and fix IT by [@1402564807](https://redirect.github.com/1402564807) in [https://github.com/langchain4j/langchain4j/pull/1699](https://redirect.github.com/langchain4j/langchain4j/pull/1699)
- DashScope: fix NPE issue when modelName parameter is null by [@jiangsier-xyz](https://redirect.github.com/jiangsier-xyz) in [https://github.com/langchain4j/langchain4j/pull/1696](https://redirect.github.com/langchain4j/langchain4j/pull/1696)
- DashScope: support qwen audio models by [@jiangsier-xyz](https://redirect.github.com/jiangsier-xyz) in [https://github.com/langchain4j/langchain4j/pull/1705](https://redirect.github.com/langchain4j/langchain4j/pull/1705)
- Migrate Vearch from Gson to Jackson by [@Martin7-1](https://redirect.github.com/Martin7-1) in [https://github.com/langchain4j/langchain4j/pull/1706](https://redirect.github.com/langchain4j/langchain4j/pull/1706)
- DashScope: Support Wanx Models (for text-generated images) by [@jiangsier-xyz](https://redirect.github.com/jiangsier-xyz) in [https://github.com/langchain4j/langchain4j/pull/1710](https://redirect.github.com/langchain4j/langchain4j/pull/1710)
- Migrate chatglm from gson to jackson by [@Martin7-1](https://redirect.github.com/Martin7-1) in [https://github.com/langchain4j/langchain4j/pull/1707](https://redirect.github.com/langchain4j/langchain4j/pull/1707)
- Gemini AI: improve error reporting and flags for Python code execution by [@glaforge](https://redirect.github.com/glaforge) in [https://github.com/langchain4j/langchain4j/pull/1708](https://redirect.github.com/langchain4j/langchain4j/pull/1708)
- OllamaModels - list running models `api/ps` by [@bidek](https://redirect.github.com/bidek) in [https://github.com/langchain4j/langchain4j/pull/1562](https://redirect.github.com/langchain4j/langchain4j/pull/1562)
- OpenAI: return token usage returned by OpenAI by [@langchain4j](https://redirect.github.com/langchain4j) in [https://github.com/langchain4j/langchain4j/pull/1622](https://redirect.github.com/langchain4j/langchain4j/pull/1622)
- Release 0.34.0 by [@langchain4j](https://redirect.github.com/langchain4j) in [https://github.com/langchain4j/langchain4j/pull/1711](https://redirect.github.com/langchain4j/langchain4j/pull/1711)
#### New Contributors
- [@marble94](https://redirect.github.com/marble94) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1518](https://redirect.github.com/langchain4j/langchain4j/pull/1518)
- [@michael-simons](https://redirect.github.com/michael-simons) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1539](https://redirect.github.com/langchain4j/langchain4j/pull/1539)
- [@tienipia](https://redirect.github.com/tienipia) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1541](https://redirect.github.com/langchain4j/langchain4j/pull/1541)
- [@Devansh-Rastogi](https://redirect.github.com/Devansh-Rastogi) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1563](https://redirect.github.com/langchain4j/langchain4j/pull/1563)
- [@hrhrng](https://redirect.github.com/hrhrng) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1069](https://redirect.github.com/langchain4j/langchain4j/pull/1069)
- [@patpe](https://redirect.github.com/patpe) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1519](https://redirect.github.com/langchain4j/langchain4j/pull/1519)
- [@whyuds](https://redirect.github.com/whyuds) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1589](https://redirect.github.com/langchain4j/langchain4j/pull/1589)
- [@MichaelDjj](https://redirect.github.com/MichaelDjj) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1592](https://redirect.github.com/langchain4j/langchain4j/pull/1592)
- [@ashni-mongodb](https://redirect.github.com/ashni-mongodb) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1515](https://redirect.github.com/langchain4j/langchain4j/pull/1515)
- [@jdzhang1221](https://redirect.github.com/jdzhang1221) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1607](https://redirect.github.com/langchain4j/langchain4j/pull/1607)
- [@dadoonet](https://redirect.github.com/dadoonet) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/712](https://redirect.github.com/langchain4j/langchain4j/pull/712)
- [@anis-gha](https://redirect.github.com/anis-gha) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1616](https://redirect.github.com/langchain4j/langchain4j/pull/1616)
- [@Michael-A-McMahon](https://redirect.github.com/Michael-A-McMahon) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1490](https://redirect.github.com/langchain4j/langchain4j/pull/1490)
- [@r0x07k](https://redirect.github.com/r0x07k) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1642](https://redirect.github.com/langchain4j/langchain4j/pull/1642)
- [@psilberk](https://redirect.github.com/psilberk) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1653](https://redirect.github.com/langchain4j/langchain4j/pull/1653)
- [@chedim](https://redirect.github.com/chedim) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1482](https://redirect.github.com/langchain4j/langchain4j/pull/1482)
- [@MiggiV2](https://redirect.github.com/MiggiV2) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1644](https://redirect.github.com/langchain4j/langchain4j/pull/1644)
**Full Changelog**: https://github.com/langchain4j/langchain4j/compare/0.33.0...0.34.0
### [`v0.33.0`](https://redirect.github.com/langchain4j/langchain4j/releases/tag/0.33.0)
[Compare Source](https://redirect.github.com/langchain4j/langchain4j/compare/0.32.0...0.33.0)
##### New Integrations
- Redis: implement `RedisChatMemoryStore` by [@zambrinf](https://redirect.github.com/zambrinf) in [https://github.com/langchain4j/langchain4j/pull/1358](https://redirect.github.com/langchain4j/langchain4j/pull/1358)
- OVHcloud: integrate embedding models by [@philippart-s](https://redirect.github.com/philippart-s) in [https://github.com/langchain4j/langchain4j/pull/1355](https://redirect.github.com/langchain4j/langchain4j/pull/1355)
##### Notable Changes
- Google Gemini: support audio, video and PDF inputs by [@glaforge](https://redirect.github.com/glaforge) in [https://github.com/langchain4j/langchain4j/pull/1464](https://redirect.github.com/langchain4j/langchain4j/pull/1464)
- Ollama: migrate to Jackson by [@Martin7-1](https://redirect.github.com/Martin7-1) in [https://github.com/langchain4j/langchain4j/pull/1072](https://redirect.github.com/langchain4j/langchain4j/pull/1072)
- Amazon Bedrock: support Titan embedding model V2 (amazon.titan-embed-text-v2:0) by [@staleks](https://redirect.github.com/staleks) in [https://github.com/langchain4j/langchain4j/pull/1487](https://redirect.github.com/langchain4j/langchain4j/pull/1487)
- Make enum values work with `@Description` annotation by [@PrimosK](https://redirect.github.com/PrimosK) in [https://github.com/langchain4j/langchain4j/pull/1398](https://redirect.github.com/langchain4j/langchain4j/pull/1398)
- Make it possible to return list of enum values annotated with `@Description` annotation by [@PrimosK](https://redirect.github.com/PrimosK) in [https://github.com/langchain4j/langchain4j/pull/1410](https://redirect.github.com/langchain4j/langchain4j/pull/1410)
- Chroma: support embedding removal by [@Heezer](https://redirect.github.com/Heezer) in [https://github.com/langchain4j/langchain4j/pull/1457](https://redirect.github.com/langchain4j/langchain4j/pull/1457)
- Pinecone: support storing metadata and embedding removal by [@Martin7-1](https://redirect.github.com/Martin7-1) in [https://github.com/langchain4j/langchain4j/pull/1400](https://redirect.github.com/langchain4j/langchain4j/pull/1400)
##### Breaking Changes
- Fix split packages by [@langchain4j](https://redirect.github.com/langchain4j) in [https://github.com/langchain4j/langchain4j/pull/1433](https://redirect.github.com/langchain4j/langchain4j/pull/1433)
We had to make some breaking changes to fix split package issues. Most of the changes should not affect your code; however, this one most probably will: ***All in-process ONNX model classes moved into their own unique packages***
- `AllMiniLmL6V2EmbeddingModel` moved from `dev.langchain4j.model.embedding` into `dev.langchain4j.model.embedding.onnx.allminilml6v2` package
- `AllMiniLmL6V2QuantizedEmbeddingModel` moved from `dev.langchain4j.model.embedding` into `dev.langchain4j.model.embedding.onnx.allminilml6v2q` package
- `OnnxEmbeddingModel` moved from `dev.langchain4j.model.embedding` into `dev.langchain4j.model.embedding.onnx` package
- etc
##### Other Changes
- Fix the incorrect endpoint for ERNIE-Speed-128K. by [@likaiqiang](https://redirect.github.com/likaiqiang) in [https://github.com/langchain4j/langchain4j/pull/1426](https://redirect.github.com/langchain4j/langchain4j/pull/1426)
- Sanitize messages before sending to Qwen models by [@jiangsier-xyz](https://redirect.github.com/jiangsier-xyz) in [https://github.com/langchain4j/langchain4j/pull/1423](https://redirect.github.com/langchain4j/langchain4j/pull/1423)
- \[Doc] Refactor the Azure documentation by [@agoncal](https://redirect.github.com/agoncal) in [https://github.com/langchain4j/langchain4j/pull/1431](https://redirect.github.com/langchain4j/langchain4j/pull/1431)
- Add Creating AzureOpenAiChatModel with Azure Credentials to the doc by [@agoncal](https://redirect.github.com/agoncal) in [https://github.com/langchain4j/langchain4j/pull/1435](https://redirect.github.com/langchain4j/langchain4j/pull/1435)
- Fix zhipuai SystemMessage role field is empty by [@1402564807](https://redirect.github.com/1402564807) in [https://github.com/langchain4j/langchain4j/pull/1438](https://redirect.github.com/langchain4j/langchain4j/pull/1438)
- Update the Vertex AI and Gemini SDK libraries by [@glaforge](https://redirect.github.com/glaforge) in [https://github.com/langchain4j/langchain4j/pull/1443](https://redirect.github.com/langchain4j/langchain4j/pull/1443)
- [#725](https://redirect.github.com/langchain4j/langchain4j/issues/725): PR 1 / 4: Addresses `EnumOutputParser` not being called by [@PrimosK](https://redirect.github.com/PrimosK) in [https://github.com/langchain4j/langchain4j/pull/1389](https://redirect.github.com/langchain4j/langchain4j/pull/1389)
- [#725](https://redirect.github.com/langchain4j/langchain4j/issues/725): PR 2 / 4: Addresses `EnumOutputParser` not working properly in some r… by [@PrimosK](https://redirect.github.com/PrimosK) in [https://github.com/langchain4j/langchain4j/pull/1392](https://redirect.github.com/langchain4j/langchain4j/pull/1392)
- EmbeddingModelTextClassifier to embed all samples per labels at once by [@glaforge](https://redirect.github.com/glaforge) in [https://github.com/langchain4j/langchain4j/pull/1448](https://redirect.github.com/langchain4j/langchain4j/pull/1448)
- Fix a enum serialization issue leading to stackoverflow when creating schemas from classes by [@glaforge](https://redirect.github.com/glaforge) in [https://github.com/langchain4j/langchain4j/pull/1450](https://redirect.github.com/langchain4j/langchain4j/pull/1450)
- Feat([#1383](https://redirect.github.com/langchain4j/langchain4j/issues/1383)): mutualise EmbeddingMatches handling by [@fb33](https://redirect.github.com/fb33) in [https://github.com/langchain4j/langchain4j/pull/1384](https://redirect.github.com/langchain4j/langchain4j/pull/1384)
- automatically convert List into String\[] by [@humcqc](https://redirect.github.com/humcqc) in [https://github.com/langchain4j/langchain4j/pull/1394](https://redirect.github.com/langchain4j/langchain4j/pull/1394)
- CohereEmbeddingModel: implement batching by [@Apetun](https://redirect.github.com/Apetun) in [https://github.com/langchain4j/langchain4j/pull/1445](https://redirect.github.com/langchain4j/langchain4j/pull/1445)
- add glm-4v model by [@1402564807](https://redirect.github.com/1402564807) in [https://github.com/langchain4j/langchain4j/pull/1469](https://redirect.github.com/langchain4j/langchain4j/pull/1469)
- Fix ollama client missing path issue by [@pangzixiang](https://redirect.github.com/pangzixiang) in [https://github.com/langchain4j/langchain4j/pull/1456](https://redirect.github.com/langchain4j/langchain4j/pull/1456)
- Bump com.azure:azure-identity from 1.13.0 to 1.13.1 by [@jdubois](https://redirect.github.com/jdubois) in [https://github.com/langchain4j/langchain4j/pull/1478](https://redirect.github.com/langchain4j/langchain4j/pull/1478)
- re [#725](https://redirect.github.com/langchain4j/langchain4j/issues/725): PR 5: Updated documentation. by [@PrimosK](https://redirect.github.com/PrimosK) in [https://github.com/langchain4j/langchain4j/pull/1473](https://redirect.github.com/langchain4j/langchain4j/pull/1473)
- Update testcontainers version to 1.20.0 by [@eddumelendez](https://redirect.github.com/eddumelendez) in [https://github.com/langchain4j/langchain4j/pull/1488](https://redirect.github.com/langchain4j/langchain4j/pull/1488)
- Bump com.knuddels:jtokkit from 1.0.0 to 1.1.0 by [@dafriz](https://redirect.github.com/dafriz) in [https://github.com/langchain4j/langchain4j/pull/1499](https://redirect.github.com/langchain4j/langchain4j/pull/1499)
- DefaultRetrievalAugmentor: process in the same thread when single query and single retriever, otherwise use executor and cache threads for 1 second by [@langchain4j](https://redirect.github.com/langchain4j) in [https://github.com/langchain4j/langchain4j/pull/1479](https://redirect.github.com/langchain4j/langchain4j/pull/1479)
- Release 0.33.0 by [@langchain4j](https://redirect.github.com/langchain4j) in [https://github.com/langchain4j/langchain4j/pull/1514](https://redirect.github.com/langchain4j/langchain4j/pull/1514)
##### New Contributors
- [@likaiqiang](https://redirect.github.com/likaiqiang) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1426](https://redirect.github.com/langchain4j/langchain4j/pull/1426)
- [@PrimosK](https://redirect.github.com/PrimosK) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1389](https://redirect.github.com/langchain4j/langchain4j/pull/1389)
- [@Apetun](https://redirect.github.com/Apetun) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1445](https://redirect.github.com/langchain4j/langchain4j/pull/1445)
- [@pangzixiang](https://redirect.github.com/pangzixiang) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1456](https://redirect.github.com/langchain4j/langchain4j/pull/1456)
- [@dafriz](https://redirect.github.com/dafriz) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1499](https://redirect.github.com/langchain4j/langchain4j/pull/1499)
- [@staleks](https://redirect.github.com/staleks) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1487](https://redirect.github.com/langchain4j/langchain4j/pull/1487)
- [@philippart-s](https://redirect.github.com/philippart-s) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1355](https://redirect.github.com/langchain4j/langchain4j/pull/1355)
**Full Changelog**: https://github.com/langchain4j/langchain4j/compare/0.32.0...0.33.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
0.32.0
->0.34.0
Release Notes
langchain4j/langchain4j (dev.langchain4j:langchain4j-ollama)
### [`v0.34.0`](https://redirect.github.com/langchain4j/langchain4j/releases/tag/0.34.0) [Compare Source](https://redirect.github.com/langchain4j/langchain4j/compare/0.33.0...0.34.0) ### New Integrations - Google AI Gemini integration by [@glaforge](https://redirect.github.com/glaforge) in [https://github.com/langchain4j/langchain4j/pull/1695](https://redirect.github.com/langchain4j/langchain4j/pull/1695) - Oracle Database Embedding Store by [@Michael-A-McMahon](https://redirect.github.com/Michael-A-McMahon) in [https://github.com/langchain4j/langchain4j/pull/1490](https://redirect.github.com/langchain4j/langchain4j/pull/1490) - Couchbase Embedding Store by [@chedim](https://redirect.github.com/chedim) in [https://github.com/langchain4j/langchain4j/pull/1482](https://redirect.github.com/langchain4j/langchain4j/pull/1482) - SearchApi integration by [@zambrinf](https://redirect.github.com/zambrinf) in [https://github.com/langchain4j/langchain4j/pull/1216](https://redirect.github.com/langchain4j/langchain4j/pull/1216) ### New Core Features - AI Services: automatically extract JSON block before parsing LLM response by [@patpe](https://redirect.github.com/patpe) in [https://github.com/langchain4j/langchain4j/pull/1516](https://redirect.github.com/langchain4j/langchain4j/pull/1516) - AI Services: return retrieved sources (RAG) when using TokenStream by [@patpe](https://redirect.github.com/patpe) in [https://github.com/langchain4j/langchain4j/pull/1527](https://redirect.github.com/langchain4j/langchain4j/pull/1527) - AI Services: provide information about executed tools by [@hrhrng](https://redirect.github.com/hrhrng) in [https://github.com/langchain4j/langchain4j/pull/1647](https://redirect.github.com/langchain4j/langchain4j/pull/1647) - AI Services: select tools dynamically by [@MiggiV2](https://redirect.github.com/MiggiV2) in [https://github.com/langchain4j/langchain4j/pull/1644](https://redirect.github.com/langchain4j/langchain4j/pull/1644) ### Notable Updates - OpenAI: Structured Outputs by [@langchain4j](https://redirect.github.com/langchain4j) in [https://github.com/langchain4j/langchain4j/pull/1590](https://redirect.github.com/langchain4j/langchain4j/pull/1590) - Ollama: support tools by [@bidek](https://redirect.github.com/bidek) in [https://github.com/langchain4j/langchain4j/pull/1558](https://redirect.github.com/langchain4j/langchain4j/pull/1558) - Jlama: support tools by [@tjake](https://redirect.github.com/tjake) in [https://github.com/langchain4j/langchain4j/pull/1661](https://redirect.github.com/langchain4j/langchain4j/pull/1661) - Elasticsearch: support approximative kNN search by [@dadoonet](https://redirect.github.com/dadoonet) in [https://github.com/langchain4j/langchain4j/pull/712](https://redirect.github.com/langchain4j/langchain4j/pull/712) - Azure AI Search: support embedding removal by [@Devansh-Rastogi](https://redirect.github.com/Devansh-Rastogi) in [https://github.com/langchain4j/langchain4j/pull/1563](https://redirect.github.com/langchain4j/langchain4j/pull/1563) - Chroma: support metadata filtering by [@Heezer](https://redirect.github.com/Heezer) in [https://github.com/langchain4j/langchain4j/pull/1556](https://redirect.github.com/langchain4j/langchain4j/pull/1556) - Pinecone: support metadata filtering by [@hrhrng](https://redirect.github.com/hrhrng) in [https://github.com/langchain4j/langchain4j/pull/1601](https://redirect.github.com/langchain4j/langchain4j/pull/1601) - Ollama: embed in batches by [@Martin7-1](https://redirect.github.com/Martin7-1) in [https://github.com/langchain4j/langchain4j/pull/1565](https://redirect.github.com/langchain4j/langchain4j/pull/1565) ### Potentially Breaking Changes - OpenAI: migrate from Gson to Jackson by [@alexis779](https://redirect.github.com/alexis779) in [https://github.com/langchain4j/langchain4j/pull/1667](https://redirect.github.com/langchain4j/langchain4j/pull/1667) - PgVector: migrate from Gson to Jackson by [@humcqc](https://redirect.github.com/humcqc) in [https://github.com/langchain4j/langchain4j/pull/1692](https://redirect.github.com/langchain4j/langchain4j/pull/1692) - Redis: migrate from Gson to Jackson by [@Martin7-1](https://redirect.github.com/Martin7-1) in [https://github.com/langchain4j/langchain4j/pull/1694](https://redirect.github.com/langchain4j/langchain4j/pull/1694) ### Other Changes - Fix DefaultPromptTemplateFactory RegExp for Android. by [@marble94](https://redirect.github.com/marble94) in [https://github.com/langchain4j/langchain4j/pull/1518](https://redirect.github.com/langchain4j/langchain4j/pull/1518) - Ollama: added method to delete a model by [@bidek](https://redirect.github.com/bidek) in [https://github.com/langchain4j/langchain4j/pull/1557](https://redirect.github.com/langchain4j/langchain4j/pull/1557) - fix: Use `NODE` type to check for the values type. by [@michael-simons](https://redirect.github.com/michael-simons) in [https://github.com/langchain4j/langchain4j/pull/1539](https://redirect.github.com/langchain4j/langchain4j/pull/1539) - Bump com.azure:azure-storage-common from 12.25.1 to 12.26.0 by [@jdubois](https://redirect.github.com/jdubois) in [https://github.com/langchain4j/langchain4j/pull/1535](https://redirect.github.com/langchain4j/langchain4j/pull/1535) - Bump com.azure:azure-storage-blob from 12.26.1 to 12.27.0 by [@jdubois](https://redirect.github.com/jdubois) in [https://github.com/langchain4j/langchain4j/pull/1534](https://redirect.github.com/langchain4j/langchain4j/pull/1534) - Bump com.azure:azure-search-documents from 11.6.6 to 11.7.0 by [@jdubois](https://redirect.github.com/jdubois) in [https://github.com/langchain4j/langchain4j/pull/1533](https://redirect.github.com/langchain4j/langchain4j/pull/1533) - Tavily: replace space with %20 in returned URLs by [@tienipia](https://redirect.github.com/tienipia) in [https://github.com/langchain4j/langchain4j/pull/1541](https://redirect.github.com/langchain4j/langchain4j/pull/1541) - Add `langchain4j-embeddings` to BOM by [@boris-petrov](https://redirect.github.com/boris-petrov) in [https://github.com/langchain4j/langchain4j/pull/1529](https://redirect.github.com/langchain4j/langchain4j/pull/1529) - fix bug: AiMessage text content is not copied when toolCalls are pres… by [@hrhrng](https://redirect.github.com/hrhrng) in [https://github.com/langchain4j/langchain4j/pull/1069](https://redirect.github.com/langchain4j/langchain4j/pull/1069) - 1465 : Ensuring trailing / in retrofit baseurl by [@patpe](https://redirect.github.com/patpe) in [https://github.com/langchain4j/langchain4j/pull/1519](https://redirect.github.com/langchain4j/langchain4j/pull/1519) - re [#1506](https://redirect.github.com/langchain4j/langchain4j/issues/1506) Enabling Maven (version) enforcer plugin in modules with no version conflicts by [@PrimosK](https://redirect.github.com/PrimosK) in [https://github.com/langchain4j/langchain4j/pull/1507](https://redirect.github.com/langchain4j/langchain4j/pull/1507) - \[Bugfix 1458] Allowing web search results empty by [@czelabueno](https://redirect.github.com/czelabueno) in [https://github.com/langchain4j/langchain4j/pull/1570](https://redirect.github.com/langchain4j/langchain4j/pull/1570) - Add timeout configuration item by [@1402564807](https://redirect.github.com/1402564807) in [https://github.com/langchain4j/langchain4j/pull/1573](https://redirect.github.com/langchain4j/langchain4j/pull/1573) - feat: Added embedding-3 model support for zhipu by [@whyuds](https://redirect.github.com/whyuds) in [https://github.com/langchain4j/langchain4j/pull/1589](https://redirect.github.com/langchain4j/langchain4j/pull/1589) - Added an option to setup a proxy for Cohere score model by [@MichaelDjj](https://redirect.github.com/MichaelDjj) in [https://github.com/langchain4j/langchain4j/pull/1592](https://redirect.github.com/langchain4j/langchain4j/pull/1592) - added dimensions parameter to specify by user in AzureOpenAiEmbeddingModel by [@Devansh-Rastogi](https://redirect.github.com/Devansh-Rastogi) in [https://github.com/langchain4j/langchain4j/pull/1578](https://redirect.github.com/langchain4j/langchain4j/pull/1578) - fix bug: AiMessage text content is not copied when toolCalls are pres… by [@hrhrng](https://redirect.github.com/hrhrng) in [https://github.com/langchain4j/langchain4j/pull/1576](https://redirect.github.com/langchain4j/langchain4j/pull/1576) - support run integration tests for changed and dependent modules by [@Yellow--](https://redirect.github.com/Yellow--) in [https://github.com/langchain4j/langchain4j/pull/1185](https://redirect.github.com/langchain4j/langchain4j/pull/1185) - Update mongodb-atlas.md by [@ashni-mongodb](https://redirect.github.com/ashni-mongodb) in [https://github.com/langchain4j/langchain4j/pull/1515](https://redirect.github.com/langchain4j/langchain4j/pull/1515) - fix \[BUG] [#1585](https://redirect.github.com/langchain4j/langchain4j/issues/1585) by [@lane12138](https://redirect.github.com/lane12138) in [https://github.com/langchain4j/langchain4j/pull/1597](https://redirect.github.com/langchain4j/langchain4j/pull/1597) - test GIB by [@langchain4j](https://redirect.github.com/langchain4j) in [https://github.com/langchain4j/langchain4j/pull/1598](https://redirect.github.com/langchain4j/langchain4j/pull/1598) - Add file comments:ZhipuAiEmbeddingModel by [@jdzhang1221](https://redirect.github.com/jdzhang1221) in [https://github.com/langchain4j/langchain4j/pull/1607](https://redirect.github.com/langchain4j/langchain4j/pull/1607) - Bump com.azure:azure-identity from 1.13.1 to 1.13.2 by [@jdubois](https://redirect.github.com/jdubois) in [https://github.com/langchain4j/langchain4j/pull/1609](https://redirect.github.com/langchain4j/langchain4j/pull/1609) - Anthropic: Added model "Claude 3.5 Sonnet" to AnthropicChatModelName by [@anis-gha](https://redirect.github.com/anis-gha) in [https://github.com/langchain4j/langchain4j/pull/1616](https://redirect.github.com/langchain4j/langchain4j/pull/1616) - EmbeddingStoreIT: use awaitility by [@langchain4j](https://redirect.github.com/langchain4j) in [https://github.com/langchain4j/langchain4j/pull/1610](https://redirect.github.com/langchain4j/langchain4j/pull/1610) - Changes to deprecated models tests by [@zambrinf](https://redirect.github.com/zambrinf) in [https://github.com/langchain4j/langchain4j/pull/1531](https://redirect.github.com/langchain4j/langchain4j/pull/1531) - re [#1506](https://redirect.github.com/langchain4j/langchain4j/issues/1506) Enabling Maven (version) enforcer plugin in `LangChain4j :: Integration :: OpenAI` module. by [@PrimosK](https://redirect.github.com/PrimosK) in [https://github.com/langchain4j/langchain4j/pull/1508](https://redirect.github.com/langchain4j/langchain4j/pull/1508) - Bump micromatch from 4.0.5 to 4.0.8 in /docs by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/langchain4j/langchain4j/pull/1641](https://redirect.github.com/langchain4j/langchain4j/pull/1641) - Bump com.azure:azure-storage-common from 12.26.0 to 12.26.1 by [@jdubois](https://redirect.github.com/jdubois) in [https://github.com/langchain4j/langchain4j/pull/1637](https://redirect.github.com/langchain4j/langchain4j/pull/1637) - Bumps com.azure:azure-search-documents from 11.7.0 to 11.7.1 by [@jdubois](https://redirect.github.com/jdubois) in [https://github.com/langchain4j/langchain4j/pull/1638](https://redirect.github.com/langchain4j/langchain4j/pull/1638) - Bumps com.azure:azure-storage-blob from 12.27.0 to 12.27.1 by [@jdubois](https://redirect.github.com/jdubois) in [https://github.com/langchain4j/langchain4j/pull/1639](https://redirect.github.com/langchain4j/langchain4j/pull/1639) - re [#1506](https://redirect.github.com/langchain4j/langchain4j/issues/1506) Enabling Maven version enforcer plugin in `LangChain4j :: Integration :: Azure OpenAI` module. by [@PrimosK](https://redirect.github.com/PrimosK) in [https://github.com/langchain4j/langchain4j/pull/1509](https://redirect.github.com/langchain4j/langchain4j/pull/1509) - feat: Enable batch embedding server side by [@philippart-s](https://redirect.github.com/philippart-s) in [https://github.com/langchain4j/langchain4j/pull/1643](https://redirect.github.com/langchain4j/langchain4j/pull/1643) - Milvus - upgrade to Milvus SDK 2.3.9 by [@r0x07k](https://redirect.github.com/r0x07k) in [https://github.com/langchain4j/langchain4j/pull/1642](https://redirect.github.com/langchain4j/langchain4j/pull/1642) - re [#1506](https://redirect.github.com/langchain4j/langchain4j/issues/1506) Enable Maven enforcer plugin and fix dependency conflict introduced by `okhttp` dependency in 19 modules. by [@PrimosK](https://redirect.github.com/PrimosK) in [https://github.com/langchain4j/langchain4j/pull/1645](https://redirect.github.com/langchain4j/langchain4j/pull/1645) - Bump webpack from 5.89.0 to 5.94.0 in /docs by [@dependabot](https://redirect.github.com/dependabot) in [https://github.com/langchain4j/langchain4j/pull/1651](https://redirect.github.com/langchain4j/langchain4j/pull/1651) - langchain4j-zhipu get rid of lombok by [@1402564807](https://redirect.github.com/1402564807) in [https://github.com/langchain4j/langchain4j/pull/1662](https://redirect.github.com/langchain4j/langchain4j/pull/1662) - Bump com.azure:azure-ai-openai from 1.0.0-beta.10 to 1.0.0-beta.11 by [@jdubois](https://redirect.github.com/jdubois) in [https://github.com/langchain4j/langchain4j/pull/1656](https://redirect.github.com/langchain4j/langchain4j/pull/1656) - Bump dashscope-sdk-java from 2.15.1 to 2.16.3 by [@jiangsier-xyz](https://redirect.github.com/jiangsier-xyz) in [https://github.com/langchain4j/langchain4j/pull/1654](https://redirect.github.com/langchain4j/langchain4j/pull/1654) - Fix typo in readme by [@psilberk](https://redirect.github.com/psilberk) in [https://github.com/langchain4j/langchain4j/pull/1653](https://redirect.github.com/langchain4j/langchain4j/pull/1653) - Add numCandidates setting to ElasticsearchConfigurationKnn by [@dadoonet](https://redirect.github.com/dadoonet) in [https://github.com/langchain4j/langchain4j/pull/1649](https://redirect.github.com/langchain4j/langchain4j/pull/1649) - DashScope: Support ChatModelListener by [@jiangsier-xyz](https://redirect.github.com/jiangsier-xyz) in [https://github.com/langchain4j/langchain4j/pull/1669](https://redirect.github.com/langchain4j/langchain4j/pull/1669) - langchain4j-elasticsearch get rid of lombok by [@Martin7-1](https://redirect.github.com/Martin7-1) in [https://github.com/langchain4j/langchain4j/pull/1671](https://redirect.github.com/langchain4j/langchain4j/pull/1671) - langchain4j-redis get rid of lombok by [@Martin7-1](https://redirect.github.com/Martin7-1) in [https://github.com/langchain4j/langchain4j/pull/1670](https://redirect.github.com/langchain4j/langchain4j/pull/1670) - DashScope: Support baseUrl in QwenEmbeddingModel by [@jiangsier-xyz](https://redirect.github.com/jiangsier-xyz) in [https://github.com/langchain4j/langchain4j/pull/1673](https://redirect.github.com/langchain4j/langchain4j/pull/1673) - \[Feature] ApachePdfBoxDocumentParser should return metadata by [@zambrinf](https://redirect.github.com/zambrinf) in [https://github.com/langchain4j/langchain4j/pull/1475](https://redirect.github.com/langchain4j/langchain4j/pull/1475) - Add ZhipuAi no argument constructor and fix IT by [@1402564807](https://redirect.github.com/1402564807) in [https://github.com/langchain4j/langchain4j/pull/1699](https://redirect.github.com/langchain4j/langchain4j/pull/1699) - DashScope: fix NPE issue when modelName parameter is null by [@jiangsier-xyz](https://redirect.github.com/jiangsier-xyz) in [https://github.com/langchain4j/langchain4j/pull/1696](https://redirect.github.com/langchain4j/langchain4j/pull/1696) - DashScope: support qwen audio models by [@jiangsier-xyz](https://redirect.github.com/jiangsier-xyz) in [https://github.com/langchain4j/langchain4j/pull/1705](https://redirect.github.com/langchain4j/langchain4j/pull/1705) - Migrate Vearch from Gson to Jackson by [@Martin7-1](https://redirect.github.com/Martin7-1) in [https://github.com/langchain4j/langchain4j/pull/1706](https://redirect.github.com/langchain4j/langchain4j/pull/1706) - DashScope: Support Wanx Models (for text-generated images) by [@jiangsier-xyz](https://redirect.github.com/jiangsier-xyz) in [https://github.com/langchain4j/langchain4j/pull/1710](https://redirect.github.com/langchain4j/langchain4j/pull/1710) - Migrate chatglm from gson to jackson by [@Martin7-1](https://redirect.github.com/Martin7-1) in [https://github.com/langchain4j/langchain4j/pull/1707](https://redirect.github.com/langchain4j/langchain4j/pull/1707) - Gemini AI: improve error reporting and flags for Python code execution by [@glaforge](https://redirect.github.com/glaforge) in [https://github.com/langchain4j/langchain4j/pull/1708](https://redirect.github.com/langchain4j/langchain4j/pull/1708) - OllamaModels - list running models `api/ps` by [@bidek](https://redirect.github.com/bidek) in [https://github.com/langchain4j/langchain4j/pull/1562](https://redirect.github.com/langchain4j/langchain4j/pull/1562) - OpenAI: return token usage returned by OpenAI by [@langchain4j](https://redirect.github.com/langchain4j) in [https://github.com/langchain4j/langchain4j/pull/1622](https://redirect.github.com/langchain4j/langchain4j/pull/1622) - Release 0.34.0 by [@langchain4j](https://redirect.github.com/langchain4j) in [https://github.com/langchain4j/langchain4j/pull/1711](https://redirect.github.com/langchain4j/langchain4j/pull/1711) #### New Contributors - [@marble94](https://redirect.github.com/marble94) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1518](https://redirect.github.com/langchain4j/langchain4j/pull/1518) - [@michael-simons](https://redirect.github.com/michael-simons) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1539](https://redirect.github.com/langchain4j/langchain4j/pull/1539) - [@tienipia](https://redirect.github.com/tienipia) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1541](https://redirect.github.com/langchain4j/langchain4j/pull/1541) - [@Devansh-Rastogi](https://redirect.github.com/Devansh-Rastogi) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1563](https://redirect.github.com/langchain4j/langchain4j/pull/1563) - [@hrhrng](https://redirect.github.com/hrhrng) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1069](https://redirect.github.com/langchain4j/langchain4j/pull/1069) - [@patpe](https://redirect.github.com/patpe) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1519](https://redirect.github.com/langchain4j/langchain4j/pull/1519) - [@whyuds](https://redirect.github.com/whyuds) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1589](https://redirect.github.com/langchain4j/langchain4j/pull/1589) - [@MichaelDjj](https://redirect.github.com/MichaelDjj) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1592](https://redirect.github.com/langchain4j/langchain4j/pull/1592) - [@ashni-mongodb](https://redirect.github.com/ashni-mongodb) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1515](https://redirect.github.com/langchain4j/langchain4j/pull/1515) - [@jdzhang1221](https://redirect.github.com/jdzhang1221) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1607](https://redirect.github.com/langchain4j/langchain4j/pull/1607) - [@dadoonet](https://redirect.github.com/dadoonet) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/712](https://redirect.github.com/langchain4j/langchain4j/pull/712) - [@anis-gha](https://redirect.github.com/anis-gha) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1616](https://redirect.github.com/langchain4j/langchain4j/pull/1616) - [@Michael-A-McMahon](https://redirect.github.com/Michael-A-McMahon) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1490](https://redirect.github.com/langchain4j/langchain4j/pull/1490) - [@r0x07k](https://redirect.github.com/r0x07k) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1642](https://redirect.github.com/langchain4j/langchain4j/pull/1642) - [@psilberk](https://redirect.github.com/psilberk) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1653](https://redirect.github.com/langchain4j/langchain4j/pull/1653) - [@chedim](https://redirect.github.com/chedim) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1482](https://redirect.github.com/langchain4j/langchain4j/pull/1482) - [@MiggiV2](https://redirect.github.com/MiggiV2) made their first contribution in [https://github.com/langchain4j/langchain4j/pull/1644](https://redirect.github.com/langchain4j/langchain4j/pull/1644) **Full Changelog**: https://github.com/langchain4j/langchain4j/compare/0.33.0...0.34.0 ### [`v0.33.0`](https://redirect.github.com/langchain4j/langchain4j/releases/tag/0.33.0) [Compare Source](https://redirect.github.com/langchain4j/langchain4j/compare/0.32.0...0.33.0) ##### New Integrations - Redis: implement `RedisChatMemoryStore` by [@zambrinf](https://redirect.github.com/zambrinf) in [https://github.com/langchain4j/langchain4j/pull/1358](https://redirect.github.com/langchain4j/langchain4j/pull/1358) - OVHcloud: integrate embedding models by [@philippart-s](https://redirect.github.com/philippart-s) in [https://github.com/langchain4j/langchain4j/pull/1355](https://redirect.github.com/langchain4j/langchain4j/pull/1355) ##### Notable Changes - Google Gemini: support audio, video and PDF inputs by [@glaforge](https://redirect.github.com/glaforge) in [https://github.com/langchain4j/langchain4j/pull/1464](https://redirect.github.com/langchain4j/langchain4j/pull/1464) - Ollama: migrate to Jackson by [@Martin7-1](https://redirect.github.com/Martin7-1) in [https://github.com/langchain4j/langchain4j/pull/1072](https://redirect.github.com/langchain4j/langchain4j/pull/1072) - Amazon Bedrock: support Titan embedding model V2 (amazon.titan-embed-text-v2:0) by [@staleks](https://redirect.github.com/staleks) in [https://github.com/langchain4j/langchain4j/pull/1487](https://redirect.github.com/langchain4j/langchain4j/pull/1487) - Make enum values work with `@Description` annotation by [@PrimosK](https://redirect.github.com/PrimosK) in [https://github.com/langchain4j/langchain4j/pull/1398](https://redirect.github.com/langchain4j/langchain4j/pull/1398) - Make it possible to return list of enum values annotated with `@Description` annotation by [@PrimosK](https://redirect.github.com/PrimosK) in [https://github.com/langchain4j/langchain4j/pull/1410](https://redirect.github.com/langchain4j/langchain4j/pull/1410) - Chroma: support embedding removal by [@Heezer](https://redirect.github.com/Heezer) in [https://github.com/langchain4j/langchain4j/pull/1457](https://redirect.github.com/langchain4j/langchain4j/pull/1457) - Pinecone: support storing metadata and embedding removal by [@Martin7-1](https://redirect.github.com/Martin7-1) in [https://github.com/langchain4j/langchain4j/pull/1400](https://redirect.github.com/langchain4j/langchain4j/pull/1400) ##### Breaking Changes - Fix split packages by [@langchain4j](https://redirect.github.com/langchain4j) in [https://github.com/langchain4j/langchain4j/pull/1433](https://redirect.github.com/langchain4j/langchain4j/pull/1433) We had to make some breaking changes to fix split package issues. Most of the changes should not affect your code; however, this one most probably will: ***All in-process ONNX model classes moved into their own unique packages*** - `AllMiniLmL6V2EmbeddingModel` moved from `dev.langchain4j.model.embedding` into `dev.langchain4j.model.embedding.onnx.allminilml6v2` package - `AllMiniLmL6V2QuantizedEmbeddingModel` moved from `dev.langchain4j.model.embedding` into `dev.langchain4j.model.embedding.onnx.allminilml6v2q` package - `OnnxEmbeddingModel` moved from `dev.langchain4j.model.embedding` into `dev.langchain4j.model.embedding.onnx` package - etc ##### Other Changes - Fix the incorrect endpoint for ERNIE-Speed-128K. by [@likaiqiang](https://redirect.github.com/likaiqiang) in [https://github.com/langchain4j/langchain4j/pull/1426](https://redirect.github.com/langchain4j/langchain4j/pull/1426) - Sanitize messages before sending to Qwen models by [@jiangsier-xyz](https://redirect.github.com/jiangsier-xyz) in [https://github.com/langchain4j/langchain4j/pull/1423](https://redirect.github.com/langchain4j/langchain4j/pull/1423) - \[Doc] Refactor the Azure documentation by [@agoncal](https://redirect.github.com/agoncal) in [https://github.com/langchain4j/langchain4j/pull/1431](https://redirect.github.com/langchain4j/langchain4j/pull/1431) - Add Creating AzureOpenAiChatModel with Azure Credentials to the doc by [@agoncal](https://redirect.github.com/agoncal) in [https://github.com/langchain4j/langchain4j/pull/1435](https://redirect.github.com/langchain4j/langchain4j/pull/1435) - Fix zhipuai SystemMessage role field is empty by [@1402564807](https://redirect.github.com/1402564807) in [https://github.com/langchain4j/langchain4j/pull/1438](https://redirect.github.com/langchain4j/langchain4j/pull/1438) - Update the Vertex AI and Gemini SDK libraries by [@glaforge](https://redirect.github.com/glaforge) in [https://github.com/langchain4j/langchain4j/pull/1443](https://redirect.github.com/langchain4j/langchain4j/pull/1443) - [#725](https://redirect.github.com/langchain4j/langchain4j/issues/725): PR 1 / 4: Addresses `EnumOutputParser` not being called by [@PrimosK](https://redirect.github.com/PrimosK) in [https://github.com/langchain4j/langchain4j/pull/1389](https://redirect.github.com/langchain4j/langchain4j/pull/1389) - [#725](https://redirect.github.com/langchain4j/langchain4j/issues/725): PR 2 / 4: Addresses `EnumOutputParser` not working properly in some r… by [@PrimosK](https://redirect.github.com/PrimosK) in [https://github.com/langchain4j/langchain4j/pull/1392](https://redirect.github.com/langchain4j/langchain4j/pull/1392) - EmbeddingModelTextClassifier to embed all samples per labels at once by [@glaforge](https://redirect.github.com/glaforge) in [https://github.com/langchain4j/langchain4j/pull/1448](https://redirect.github.com/langchain4j/langchain4j/pull/1448) - Fix a enum serialization issue leading to stackoverflow when creating schemas from classes by [@glaforge](https://redirect.github.com/glaforge) in [https://github.com/langchain4j/langchain4j/pull/1450](https://redirect.github.com/langchain4j/langchain4j/pull/1450) - Feat([#1383](https://redirect.github.com/langchain4j/langchain4j/issues/1383)): mutualise EmbeddingMatches handling by [@fb33](https://redirect.github.com/fb33) in [https://github.com/langchain4j/langchain4j/pull/1384](https://redirect.github.com/langchain4j/langchain4j/pull/1384) - automatically convert ListConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.