پروجیکٹ کے اسکرین شاٹس
جائزہ
LangChain4j is an open-source Java library designed to simplify the integration of large language models (LLMs) into Java applications. It provides a unified API that abstracts the proprietary interfaces of over 20 LLM providers and more than 30 embedding (vector) stores, allowing developers to swap providers without rewriting application code. The library offers a comprehensive toolbox ranging from low-level capabilities like prompt templating, chat memory management, and function calling to high-level patterns such as agents and retrieval-augmented generation (RAG). LangChain4j is built from the ground up around Java conventions—including type safety, POJOs, annotations, interfaces, dependency injection, and fluent APIs—and integrates with enterprise Java frameworks such as Quarkus, Spring Boot, Helidon, and Micronaut. Despite its name, it is not a Java port of the Python LangChain project; its API, internals, and release cycle are independent.
اہم خصوصیات
- Unified API over 20+ LLM providers and 30+ embedding stores
- Tool calling with MCP support
- Agent and RAG abstractions with ready-to-use implementations
- Prompt templating and chat memory management
- Idiomatic Java design: type safety, POJOs, annotations, interfaces, fluent APIs
- First-class integrations with Quarkus, Spring Boot, Helidon, and Micronaut
- Independent API, internals, and release cycle from Python LangChain
ضروریات، انسٹالیشن اور فوری آغاز
استعمال
ماڈل کی مطابقت اور استعمال کے مواقع
Supports 20+ popular LLM providers and 30+ embedding stores. Repository topics reference providers and stores including Anthropic, OpenAI, Gemini, Hugging Face, Ollama, ONNX, Chroma, Milvus, Pinecone, and pgvector. A full list is available at https://docs.langchain4j.dev/integrations/language-models/ and https://docs.langchain4j.dev/integrations/embedding-stores/.
لائسنس اور خطرے سے متعلق نوٹس
Licensed under the Apache License 2.0 (SPDX: Apache-2.0). License details are available at https://api.github.com/licenses/apache-2.0.
Editorial verification 2026-08-09: repository URL, owner, description, license and repository statistics were reviewed. License metadata: Apache-2.0. README was fetched for the channel draft; re-check repository dependencies, releases and model terms before production use.
ریلیز اور دیکھ بھال
Not stated in the repository metadata. The Maven Central version badge links to https://search.maven.org/#search|gav|1|g:"dev.langchain4j"%20AND%20a:"langchain4j" for current release version information.