0.32.0
版本发布时间: 2024-07-04 18:45:18
langchain4j/langchain4j最新发布版本:0.33.0(2024-07-25 16:34:14)
New Integrations
- Integration with Jlama by @tjake in https://github.com/langchain4j/langchain4j/pull/1379
- Integration with Workers AI (Cloudflare) by @clun in https://github.com/langchain4j/langchain4j/pull/1262
- Selenium document loader by @Wadimz in https://github.com/langchain4j/langchain4j/pull/1166
New Core Features
- Support custom POJOs as
@Tool
method parameters by @gs-snagaraj in https://github.com/langchain4j/langchain4j/pull/708 - Support optional
@Tool
method parameters by @Kugaaa in https://github.com/langchain4j/langchain4j/pull/1370 - Support configuring tools programmatically by @langchain4j in https://github.com/langchain4j/langchain4j/pull/1364
- Implement
EmbeddingModel.dimension()
by @Martin7-1 in https://github.com/langchain4j/langchain4j/pull/1250
Notable Changes
- Gemini updates by @glaforge in https://github.com/langchain4j/langchain4j/pull/1278
- Implement embedding removal methods for Milvus by @1402564807 in https://github.com/langchain4j/langchain4j/pull/1172
- Implement embedding removal methods for Elasticsearch by @zambrinf in https://github.com/langchain4j/langchain4j/pull/1198
- Implement embedding removal methods for InMemoryEmbeddingStore by @InAnYan in https://github.com/langchain4j/langchain4j/pull/1220
- Implement embedding removal methods for Weaviate by @kiratkumar47 in https://github.com/langchain4j/langchain4j/pull/1196
- Add ChatModelListener support for Azure OpenAI by @qiaoleiatms in https://github.com/langchain4j/langchain4j/pull/1305
- Add ChatModelListener support for ZhipuAI by @1402564807 in https://github.com/langchain4j/langchain4j/pull/1378
- Support metadata filtering for Azure AI Search by @fb33 in https://github.com/langchain4j/langchain4j/pull/1291
Notable Changes in langchain4j-embeddings
- Parallelize the embedding process by @langchain4j in https://github.com/langchain4j/langchain4j-embeddings/pull/31
Notable Changes in langchain4j-spring
- New Baseline: Spring Boot 3 and Java 17 by @ThomasVitale in https://github.com/langchain4j/langchain4j-spring/pull/24
- Spring Boot starter for Google Vertex AI Gemini by @zambrinf in https://github.com/langchain4j/langchain4j-spring/pull/26
- Spring Boot starter for Elasticsearch by @Martin7-1 in https://github.com/langchain4j/langchain4j-spring/pull/27
- Spring Boot starter for QianFan by @fanjia1024 in https://github.com/langchain4j/langchain4j-spring/pull/19
- Spring Boot starter for Redis by @Martin7-1 in https://github.com/langchain4j/langchain4j-spring/pull/2
- Spring Boot starter for Milvus by @Martin7-1 in https://github.com/langchain4j/langchain4j-spring/pull/28
Breaking Changes
- Observability: Updated model listener API to be more integration friendly by @langchain4j in https://github.com/langchain4j/langchain4j/pull/1229
- Migrate Mistral AI from Gson to Jackson by @czelabueno in https://github.com/langchain4j/langchain4j/pull/1226
Other Changes
- fixes #827 by @glaforge in https://github.com/langchain4j/langchain4j/pull/1158
- Add image model by @1402564807 in https://github.com/langchain4j/langchain4j/pull/1152
- Add langchain4j-embeddings-bge-small-zh-v15 into bom by @jiangsier-xyz in https://github.com/langchain4j/langchain4j/pull/1154
- Qianfan Models support http proxy setting(#951) by @Yellow-- in https://github.com/langchain4j/langchain4j/pull/1159
- Update qianfan.md by @xiaoyu171222853 in https://github.com/langchain4j/langchain4j/pull/1149
- Support Blank Strings Tokenization by @jiangsier-xyz in https://github.com/langchain4j/langchain4j/pull/1150
- Support Embedding for Large Amounts of Texts by @jiangsier-xyz in https://github.com/langchain4j/langchain4j/pull/1142
- update qianfan.md by @xiaoyu171222853 in https://github.com/langchain4j/langchain4j/pull/1177
- Fix null pointer issue in SqlDatabaseContentRetriever when column value is null by @hongliangzhang07 in https://github.com/langchain4j/langchain4j/pull/1161
- Bump dashscope-sdk-java from 2.13.0 to 2.14.4 by @jiangsier-xyz in https://github.com/langchain4j/langchain4j/pull/1189
- Bump com.azure:azure-search-documents from 11.6.4 to 11.6.5 by @jdubois in https://github.com/langchain4j/langchain4j/pull/1195
- Update to the latest Azure OpenAI models by @agoncal in https://github.com/langchain4j/langchain4j/pull/1200
- Refactor Azure OpenAI models into enums by @agoncal in https://github.com/langchain4j/langchain4j/pull/1205
- Nightly build by @langchain4j in https://github.com/langchain4j/langchain4j/pull/1162
- Update SegmentBuilder.java by @yangyu6 in https://github.com/langchain4j/langchain4j/pull/1121
- baidu qianfan model support stop、system、maxOutputTokens params by @jacksonhu in https://github.com/langchain4j/langchain4j/pull/1233
- Fix @UserMessage does not work by @Wadimz in https://github.com/langchain4j/langchain4j/pull/740
- Allow HtmlTextExtractor to extract relative links from document by @Wadimz in https://github.com/langchain4j/langchain4j/pull/726
- Implementation of a lambda based streaming response handler by @glaforge in https://github.com/langchain4j/langchain4j/pull/1148
- Add a Tokenizer to Azure OpenAI by @agoncal in https://github.com/langchain4j/langchain4j/pull/1222
- 增加智谱model类型 by @bitloveCN in https://github.com/langchain4j/langchain4j/pull/1239
- Bugfix 1218 - MistralAi streaming blank by @czelabueno in https://github.com/langchain4j/langchain4j/pull/1243
- Add qianfan free model "ERNIE-Speed-128K" by @song27149 in https://github.com/langchain4j/langchain4j/pull/1253
- Feature #1210 Support Tongyi Qianwen(QwenChatModel) function call by @Kugaaa in https://github.com/langchain4j/langchain4j/pull/1254
- Bump com.azure:azure-storage-common from 12.25.0 to 12.25.1 by @jdubois in https://github.com/langchain4j/langchain4j/pull/1256
- Bump com.azure:azure-storage-blob from 12.26.0 to 12.26.1 by @jdubois in https://github.com/langchain4j/langchain4j/pull/1257
- Add Spring Boot artifacts to BOM by @agoncal in https://github.com/langchain4j/langchain4j/pull/1240
- Support ToolExecutionResultMessage on Qwen Models by @jiangsier-xyz in https://github.com/langchain4j/langchain4j/pull/1260
- Bump latest version of Docusaurus by @agoncal in https://github.com/langchain4j/langchain4j/pull/1241
- Bump braces from 3.0.2 to 3.0.3 in /docs by @dependabot in https://github.com/langchain4j/langchain4j/pull/1264
- Apply minor polish to intro.md by @geoand in https://github.com/langchain4j/langchain4j/pull/1268
- Add Qwen2 Models by @jiangsier-xyz in https://github.com/langchain4j/langchain4j/pull/1265
- AzureAiSearchEmbeddingStore with index creation by @jdubois in https://github.com/langchain4j/langchain4j/pull/1259
- Bump com.azure:azure-identity from 1.12.1 to 1.12.2 by @jdubois in https://github.com/langchain4j/langchain4j/pull/1273
- fix issue 940 - Anthropic API requires 1st message to be a UserMessage by @johnsosoka in https://github.com/langchain4j/langchain4j/pull/1197
- Fix deprecated methods by @alxkm in https://github.com/langchain4j/langchain4j/pull/1213
- Fix 1079 by @1402564807 in https://github.com/langchain4j/langchain4j/pull/1095
- Open up access to ServiceOutputParser#jsonStructure by @geoand in https://github.com/langchain4j/langchain4j/pull/1279
- [BUG] Nightly and release jobs should not be run on fork repositories #1302 by @Wadimz in https://github.com/langchain4j/langchain4j/pull/1303
- Issue 972: [FEATURE] Add name to dev.langchain4j.rag.content.retriever.EmbeddingStoreContentRetriever to improve logs by @alwa in https://github.com/langchain4j/langchain4j/pull/1007
- Fix issue 1281 WeaviateEmbeddingStore does not work if .metadataKeys(singletonList("id")) is not set. by @ehsavoie in https://github.com/langchain4j/langchain4j/pull/1309
- Qianfan: clear throw exception when call qianfan api has error code (… by @yao-wenbin in https://github.com/langchain4j/langchain4j/pull/1186
- [FEATURE] Metadata UUID Support by @humcqc in https://github.com/langchain4j/langchain4j/pull/1211
- Polish OpenSearch and Vearch IT by @eddumelendez in https://github.com/langchain4j/langchain4j/pull/1325
- Initialize the LangChain4j GitHub Bot config files by @gsmet in https://github.com/langchain4j/langchain4j/pull/1329
- Add github bot rule for Gemini by @langchain4j in https://github.com/langchain4j/langchain4j/pull/1334
- [Fix] fix VearchEmbeddingStoreIT by @Martin7-1 in https://github.com/langchain4j/langchain4j/pull/1336
- Do not run CI for files not impacting CI by @gsmet in https://github.com/langchain4j/langchain4j/pull/1338
- enable userAgentSuffix in azure open ai by @KaiqianYang in https://github.com/langchain4j/langchain4j/pull/1315
- feat(finishReason): add finishReason in Result by @fb33 in https://github.com/langchain4j/langchain4j/pull/1342
- [minor fix] optimize badges by @vesense in https://github.com/langchain4j/langchain4j/pull/1328
- Remove synchronized to avoid VT pinned threads in JDK 21 by @jbescos in https://github.com/langchain4j/langchain4j/pull/1343
- Fix 1266 Allow using streaming AI Service with tools without memory by @Kugaaa in https://github.com/langchain4j/langchain4j/pull/1280
- Bump com.azure:azure-identity from 1.12.2 to 1.13.0 by @jdubois in https://github.com/langchain4j/langchain4j/pull/1345
- fix(TokenUsage): Token can't be null in AI Response by @fb33 in https://github.com/langchain4j/langchain4j/pull/1295
- Typo by @agoncal in https://github.com/langchain4j/langchain4j/pull/1365
- Azure OpenAI: AzureOpenAiStreamingChatModel should work without Tokenizer (when using tools) by @langchain4j in https://github.com/langchain4j/langchain4j/pull/1354
- Fix AzureOpenAiStreamingChatModel constructor get or default new Tokenizer by @Kugaaa in https://github.com/langchain4j/langchain4j/pull/1282
- [BUG-1339] - removed trailing commas from tool execution request argu… by @cvalorereply in https://github.com/langchain4j/langchain4j/pull/1352
- Check for duplicate method names in a list of tool specifications by @agoncal in https://github.com/langchain4j/langchain4j/pull/1375
- Allows constructing a DefaultToolExecutor with a ToolRequest by @agoncal in https://github.com/langchain4j/langchain4j/pull/1381
- a way to merge multiple in-memory embedding stores by @langchain4j in https://github.com/langchain4j/langchain4j/pull/723
- Bump com.azure:azure-search-documents from 11.6.5 to 11.6.6 by @jdubois in https://github.com/langchain4j/langchain4j/pull/1387
- #527: automatically prepend "/" to resource name if it was not found, but it is in resources root by @langchain4j in https://github.com/langchain4j/langchain4j/pull/781
- Add docusaurus-lunr-search plugin by @InAnYan in https://github.com/langchain4j/langchain4j/pull/1221
- Adding Azure CLI script to deploy the Azure AI Search resources by @agoncal in https://github.com/langchain4j/langchain4j/pull/1396
- Add comments about Azure CLI usage by @agoncal in https://github.com/langchain4j/langchain4j/pull/1403
- Bump com.azure:azure-ai-openai from 1.0.0-beta.8 to 1.0.0-beta.10 by @jdubois in https://github.com/langchain4j/langchain4j/pull/1401
- Release 0.32.0 by @langchain4j in https://github.com/langchain4j/langchain4j/pull/1409
New Contributors
- @Yellow-- made their first contribution in https://github.com/langchain4j/langchain4j/pull/1159
- @xiaoyu171222853 made their first contribution in https://github.com/langchain4j/langchain4j/pull/1149
- @hongliangzhang07 made their first contribution in https://github.com/langchain4j/langchain4j/pull/1161
- @yangyu6 made their first contribution in https://github.com/langchain4j/langchain4j/pull/1121
- @jacksonhu made their first contribution in https://github.com/langchain4j/langchain4j/pull/1233
- @bitloveCN made their first contribution in https://github.com/langchain4j/langchain4j/pull/1239
- @song27149 made their first contribution in https://github.com/langchain4j/langchain4j/pull/1253
- @johnsosoka made their first contribution in https://github.com/langchain4j/langchain4j/pull/1197
- @zambrinf made their first contribution in https://github.com/langchain4j/langchain4j/pull/1198
- @alxkm made their first contribution in https://github.com/langchain4j/langchain4j/pull/1213
- @kiratkumar47 made their first contribution in https://github.com/langchain4j/langchain4j/pull/1196
- @alwa made their first contribution in https://github.com/langchain4j/langchain4j/pull/1007
- @yao-wenbin made their first contribution in https://github.com/langchain4j/langchain4j/pull/1186
- @gsmet made their first contribution in https://github.com/langchain4j/langchain4j/pull/1329
- @qiaoleiatms made their first contribution in https://github.com/langchain4j/langchain4j/pull/1305
- @gs-snagaraj made their first contribution in https://github.com/langchain4j/langchain4j/pull/708
- @KaiqianYang made their first contribution in https://github.com/langchain4j/langchain4j/pull/1315
- @fb33 made their first contribution in https://github.com/langchain4j/langchain4j/pull/1342
- @vesense made their first contribution in https://github.com/langchain4j/langchain4j/pull/1328
- @jbescos made their first contribution in https://github.com/langchain4j/langchain4j/pull/1343
- @cvalorereply made their first contribution in https://github.com/langchain4j/langchain4j/pull/1352
- @tjake made their first contribution in https://github.com/langchain4j/langchain4j/pull/1379
Full Changelog: https://github.com/langchain4j/langchain4j/compare/0.31.0...0.32.0