fix: add getter method for
McpPingResponse#result
(#2971)The
result
field inMcpPingResponse
is private and lacks a corresponding getter method, which will cause theresult
field to be lost during Jackson serialization.Issue
Closes #2970
Change
Add a getter method for
McpPingResponse#result
General checklist
- There are no breaking changes
- I have added unit and/or integration tests for my change
- The tests cover both positive and negative cases
- I have manually run all the unit and integration tests in the module I have added/changed, and they are all green
- I have manually run all the unit and integration tests in the core and main modules, and they are all green
- I have added/updated the documentation
- I have added an example in the examples repo (only for “big” features)
- I have added/updated Spring Boot starter(s) (if applicable)
Checklist for adding new maven module
- I have added my new module in the root
pom.xml
andlangchain4j-bom/pom.xml
Checklist for adding new embedding store integration
- I have added a
{NameOfIntegration}EmbeddingStoreIT
that extends from eitherEmbeddingStoreIT
orEmbeddingStoreWithFilteringIT
- I have added a
{NameOfIntegration}EmbeddingStoreRemovalIT
that extends fromEmbeddingStoreWithRemovalIT
Checklist for changing existing embedding store integration
- I have manually verified that the
{NameOfIntegration}EmbeddingStore
works correctly with the data persisted using the latest released version of LangChain4j
LangChain for Java: Supercharge your Java application with the power of LLMs
Introduction
Welcome!
The goal of LangChain4j is to simplify integrating LLMs into Java applications.
Here’s how:
LangChain4j began development in early 2023 amid the ChatGPT hype. We noticed a lack of Java counterparts to the numerous Python and JavaScript LLM libraries and frameworks, and we had to fix that! Although “LangChain” is in our name, the project is a fusion of ideas and concepts from LangChain, Haystack, LlamaIndex, and the broader community, spiced up with a touch of our own innovation.
We actively monitor community developments, aiming to quickly incorporate new techniques and integrations, ensuring you stay up-to-date. The library is under active development. While some features are still being worked on, the core functionality is in place, allowing you to start building LLM-powered apps now!
Documentation
Documentation can be found here.
The documentation chatbot (experimental) can be found here.
Getting Started
Getting started guide can be found here.
Code Examples
Please see examples of how LangChain4j can be used in langchain4j-examples repo:
Useful Materials
Useful materials can be found here.
Get Help
Please use Discord or GitHub discussions to get help.
Request Features
Please let us know what features you need by opening an issue.
Contribute
Contribution guidelines can be found here.