0.26.1
版本发布时间: 2024-01-30 15:05:28
langchain4j/langchain4j最新发布版本:0.33.0(2024-07-25 16:34:14)
New Core Features:
- Advanced RAG by @langchain4j in https://github.com/langchain4j/langchain4j/pull/538
- Multimodality: support image inputs by @langchain4j in https://github.com/langchain4j/langchain4j/pull/428
- ConversationalRetrievalChain: adding metadata in the prompt by @mateusscheper in https://github.com/langchain4j/langchain4j/pull/431
New Integrations:
Model providers:
- Mistral AI by @czelabueno in https://github.com/langchain4j/langchain4j/pull/514
- Wenxin Qianfan by @lane12138 in https://github.com/langchain4j/langchain4j/pull/499
- Cohere Rerank by @langchain4j in https://github.com/langchain4j/langchain4j/pull/539
Embedding Stores:
- Azure AI Search by @jdubois in https://github.com/langchain4j/langchain4j/pull/530
- Qdrant by @Anush008 in https://github.com/langchain4j/langchain4j/pull/542
- Vearch by @Martin7-1 in https://github.com/langchain4j/langchain4j/pull/525
Document Loaders:
- Azure Blob Storage by @jdubois in https://github.com/langchain4j/langchain4j/pull/439
- GitHub by @jdubois in https://github.com/langchain4j/langchain4j/pull/415
- Tencent COS by @Martin7-1 in https://github.com/langchain4j/langchain4j/pull/421
Notable Updates:
- OpenAI: support image inputs by @langchain4j in https://github.com/langchain4j/langchain4j/pull/428
- OpenAI: support shortened embeddings by @langchain4j in https://github.com/langchain4j/langchain4j/pull/555
- OpenAI: support native images by @langchain4j in https://github.com/langchain4j/langchain4j/pull/497
- Vertex AI Gemini: support image inputs by @langchain4j in https://github.com/langchain4j/langchain4j/pull/428
- Vertex AI: image generation by @glaforge in https://github.com/langchain4j/langchain4j/pull/456
- Ollama: support image inputs by @bidek in https://github.com/langchain4j/langchain4j/pull/462
- Ollama: list available models by @bidek in https://github.com/langchain4j/langchain4j/pull/533
- Ollama: Spring Boot starter by @langchain4j in https://github.com/langchain4j/langchain4j-spring/pull/3
- Qwen: support image inputs by @jiangsier-xyz in https://github.com/langchain4j/langchain4j/pull/537
Technical Improvements and Bugfixes:
- Pre-built ollama models by @langchain4j in https://github.com/langchain4j/langchain4j/pull/419
- Image tests and docs. by @crutcher in https://github.com/langchain4j/langchain4j/pull/401
- Add documentation and tests for Document class by @crutcher in https://github.com/langchain4j/langchain4j/pull/376
- Add DocumentSplitterTest class by @crutcher in https://github.com/langchain4j/langchain4j/pull/378
- Add DocumentLoaderTest class and update DocumentLoader by @crutcher in https://github.com/langchain4j/langchain4j/pull/379
- Add DocumentTransformerTest class. by @crutcher in https://github.com/langchain4j/langchain4j/pull/380
- Add ChatLanguageModelTest class. by @crutcher in https://github.com/langchain4j/langchain4j/pull/381
- Add Javadoc to TokenCountEstimator and create TokenCountEstimatorTest by @crutcher in https://github.com/langchain4j/langchain4j/pull/382
- Retriever Interface Add a default method with memoryId by @leojames in https://github.com/langchain4j/langchain4j/pull/358
- Tests and docs for ImageModel api. by @crutcher in https://github.com/langchain4j/langchain4j/pull/383
- Tests and docs for JsonSchemaProperty api. by @crutcher in https://github.com/langchain4j/langchain4j/pull/387
- ToolExecutionRequest docs and tests. by @crutcher in https://github.com/langchain4j/langchain4j/pull/388
- Tests and docs for ToolParameters by @crutcher in https://github.com/langchain4j/langchain4j/pull/389
- Implement Metadata class tests and enhance documentation by @crutcher in https://github.com/langchain4j/langchain4j/pull/377
- ToolSpecification and ToolSpecifications docs and tests. by @crutcher in https://github.com/langchain4j/langchain4j/pull/390
- TextClassifier tests. by @crutcher in https://github.com/langchain4j/langchain4j/pull/391
- CosineSimilarity protection from zeros; full coverage tests. by @crutcher in https://github.com/langchain4j/langchain4j/pull/392
- InMemoryChatMemoryStore, tests by @crutcher in https://github.com/langchain4j/langchain4j/pull/393
- EmbeddingMatch tests by @crutcher in https://github.com/langchain4j/langchain4j/pull/394
- Utils test coverage and docs. by @crutcher in https://github.com/langchain4j/langchain4j/pull/396
- Exceptions utility docs and tests. by @crutcher in https://github.com/langchain4j/langchain4j/pull/397
- TokenUsage docs and tests. by @crutcher in https://github.com/langchain4j/langchain4j/pull/398
- Embedding tests and docs. by @crutcher in https://github.com/langchain4j/langchain4j/pull/399
- ChatMessage, UserMessage, AiMessage tests by @crutcher in https://github.com/langchain4j/langchain4j/pull/403
- Fix another Neo4jEmbeddingStoreTest error by @vga91 in https://github.com/langchain4j/langchain4j/pull/441
- Fix function without params for Azure Open AI by @kumlien in https://github.com/langchain4j/langchain4j/pull/443
- Added skeleton structure for docs by @amithkoujalgi in https://github.com/langchain4j/langchain4j/pull/458
- Full unittest coverage and docs for ValidationUtils. by @crutcher in https://github.com/langchain4j/langchain4j/pull/445
- Full test coverage of EmbeddingMatch. by @crutcher in https://github.com/langchain4j/langchain4j/pull/446
- Ensure that Redis pipelines are closed after usage by @gdarmont in https://github.com/langchain4j/langchain4j/pull/449
- Add support to Anthropic Claude v2.1 by @sergioa in https://github.com/langchain4j/langchain4j/pull/450
- Refactor ServiceHelper and add tests and docs. by @crutcher in https://github.com/langchain4j/langchain4j/pull/452
- Docs and default-case tests for Retriever. by @crutcher in https://github.com/langchain4j/langchain4j/pull/453
- Restructure ChatMessageType to structured enums. by @crutcher in https://github.com/langchain4j/langchain4j/pull/457
- set up documentation structure by @LizeRaes in https://github.com/langchain4j/langchain4j/pull/473
- Tests and Docs for default EmbeddingModel methods. by @crutcher in https://github.com/langchain4j/langchain4j/pull/454
- Test coverage for EmbeddingStore defaults. by @crutcher in https://github.com/langchain4j/langchain4j/pull/465
- Coverage test for Image.Builder.url(String) by @crutcher in https://github.com/langchain4j/langchain4j/pull/466
- GsonJsonCodec tests by @crutcher in https://github.com/langchain4j/langchain4j/pull/467
- TextSegment and TextSegmentTransformer tests. by @crutcher in https://github.com/langchain4j/langchain4j/pull/468
- Fix #460: no overlap when previous segment is shorter than maxOverlapSize by @langchain4j in https://github.com/langchain4j/langchain4j/pull/464
- UserMessage tests. by @crutcher in https://github.com/langchain4j/langchain4j/pull/469
- EmbeddingStoreIngestor test coverage. by @crutcher in https://github.com/langchain4j/langchain4j/pull/470
- Prompt test coverage. by @crutcher in https://github.com/langchain4j/langchain4j/pull/471
- Basic test for StreamingResponseHandler. by @crutcher in https://github.com/langchain4j/langchain4j/pull/475
- Utils.readBytes() test. by @crutcher in https://github.com/langchain4j/langchain4j/pull/472
- Add jacoco coverage targets to langchain4j-core, attached to the
verify
stage. by @crutcher in https://github.com/langchain4j/langchain4j/pull/474 - Tokenizer default methods tests. by @crutcher in https://github.com/langchain4j/langchain4j/pull/476
- ContentType migrated to structured enum. by @crutcher in https://github.com/langchain4j/langchain4j/pull/477
- Move RetryUtilsTest to langchain4j-core with RetryUtils. by @crutcher in https://github.com/langchain4j/langchain4j/pull/478
- Bump follow-redirects from 1.15.3 to 1.15.4 in /docs by @dependabot in https://github.com/langchain4j/langchain4j/pull/480
- Fix #444: Added missing GraalVM metadata for Gson and excluded commons-logging by @langchain4j in https://github.com/langchain4j/langchain4j/pull/482
- Fix #451: SentenceDetectorME is not thread-safe by @langchain4j in https://github.com/langchain4j/langchain4j/pull/481
- Document VertexAI authentication by @langchain4j in https://github.com/langchain4j/langchain4j/pull/463
- Add IntelliJ icon by @geoand in https://github.com/langchain4j/langchain4j/pull/495
- Updated Docs by @amithkoujalgi in https://github.com/langchain4j/langchain4j/pull/500
- Docu logos and domain by @amithkoujalgi in https://github.com/langchain4j/langchain4j/pull/503
- action to build and publish javadoc to pages by @LizeRaes in https://github.com/langchain4j/langchain4j/pull/504
- Flesh out RetryUtils with a policy mechanism. by @crutcher in https://github.com/langchain4j/langchain4j/pull/484
- ServiceHelper.{loadService, loadFactoryService}() by @crutcher in https://github.com/langchain4j/langchain4j/pull/485
- SystemMessage tests. by @crutcher in https://github.com/langchain4j/langchain4j/pull/486
- ImageContent tests. by @crutcher in https://github.com/langchain4j/langchain4j/pull/487
- ToolExecutionResultMessage tests. by @crutcher in https://github.com/langchain4j/langchain4j/pull/488
- Make PromptTemplateFactory.Input a FunctionalInterface. by @crutcher in https://github.com/langchain4j/langchain4j/pull/489
- LanguageModel and StreamingLanguageModel tests. by @crutcher in https://github.com/langchain4j/langchain4j/pull/491
- Moderation tests. by @crutcher in https://github.com/langchain4j/langchain4j/pull/492
- Response tests. by @crutcher in https://github.com/langchain4j/langchain4j/pull/493
- language.TokenCountEstimator tests. by @crutcher in https://github.com/langchain4j/langchain4j/pull/494
- StructuredPrompt refactor and tests. by @crutcher in https://github.com/langchain4j/langchain4j/pull/490
- Tighten coverage ratchet. by @crutcher in https://github.com/langchain4j/langchain4j/pull/483
- Unify langchang4j-core coverage to a 95% requirement. by @crutcher in https://github.com/langchain4j/langchain4j/pull/509
- added documentation link by @langchain4j in https://github.com/langchain4j/langchain4j/pull/517
- Fix all jococo javadoc warnings in langchain4j-core. by @crutcher in https://github.com/langchain4j/langchain4j/pull/510
- Default methods for ModerationModel. by @crutcher in https://github.com/langchain4j/langchain4j/pull/511
- Coverage work on InMemoryEmbeddingStore. by @crutcher in https://github.com/langchain4j/langchain4j/pull/520
- Fix reflection bug that broke tests during coverage. by @crutcher in https://github.com/langchain4j/langchain4j/pull/519
- add logging and model parameter tutorials to docu by @LizeRaes in https://github.com/langchain4j/langchain4j/pull/536
- Add IT for AWS OpenSearch using LocalStack & Testcontainers by @eddumelendez in https://github.com/langchain4j/langchain4j/pull/416
- Use the Jackson BOM to solve Jackson dependency errors by @jdubois in https://github.com/langchain4j/langchain4j/pull/523
- enable Reproducible Builds by @hboutemy in https://github.com/langchain4j/langchain4j/pull/528
- Allowing model builders to be extended and to be provided by
ServiceLoader
s by @edeandrea in https://github.com/langchain4j/langchain4j/pull/531 - Testing and efficiency work on HierarchicalDocumentSplitter. by @crutcher in https://github.com/langchain4j/langchain4j/pull/524
- Allow @SystemMessage to be placed on a class by @geoand in https://github.com/langchain4j/langchain4j/pull/546
- Bump com.jayway.jsonpath:json-path from 2.8.0 to 2.9.0 in /langchain4j-parent by @dependabot in https://github.com/langchain4j/langchain4j/pull/541
- tiny improvements by @langchain4j in https://github.com/langchain4j/langchain4j/pull/543
- Fix illegal group reference when the value contains $$ by @ilopezluna in https://github.com/langchain4j/langchain4j/pull/545
- Bump com.google.guava:guava from 30.1-jre to 32.0.0-jre in /langchain4j-qdrant by @dependabot in https://github.com/langchain4j/langchain4j/pull/547
- Update localstack version to 3.1.0 by @eddumelendez in https://github.com/langchain4j/langchain4j/pull/550
- Update Vertex AI embedding to allow a batch size of 250 by @glaforge in https://github.com/langchain4j/langchain4j/pull/556
- Simplify replacement in PromptTemplate (#515) by @langchain4j in https://github.com/langchain4j/langchain4j/pull/554
- Fix #563: IllegalArgumentException occurs when attempting to use AiServices with OllamaStreamingChatModel by @langchain4j in https://github.com/langchain4j/langchain4j/pull/564
- Correcting the code snippets in the docs by @sivaprasadreddy in https://github.com/langchain4j/langchain4j/pull/566
- Automate release by @langchain4j in https://github.com/langchain4j/langchain4j/pull/562
New Contributors
- @crutcher made their first contribution in https://github.com/langchain4j/langchain4j/pull/401
- @leojames made their first contribution in https://github.com/langchain4j/langchain4j/pull/358
- @amithkoujalgi made their first contribution in https://github.com/langchain4j/langchain4j/pull/458
- @gdarmont made their first contribution in https://github.com/langchain4j/langchain4j/pull/449
- @sergioa made their first contribution in https://github.com/langchain4j/langchain4j/pull/450
- @bidek made their first contribution in https://github.com/langchain4j/langchain4j/pull/462
- @mateusscheper made their first contribution in https://github.com/langchain4j/langchain4j/pull/431
- @glaforge made their first contribution in https://github.com/langchain4j/langchain4j/pull/456
- @hboutemy made their first contribution in https://github.com/langchain4j/langchain4j/pull/528
- @czelabueno made their first contribution in https://github.com/langchain4j/langchain4j/pull/514
- @Anush008 made their first contribution in https://github.com/langchain4j/langchain4j/pull/542
- @ilopezluna made their first contribution in https://github.com/langchain4j/langchain4j/pull/545
- @lane12138 made their first contribution in https://github.com/langchain4j/langchain4j/pull/499
- @sivaprasadreddy made their first contribution in https://github.com/langchain4j/langchain4j/pull/566
Full Changelog: https://github.com/langchain4j/langchain4j/compare/0.25.0...0.26.0