MyGit

langchain4j/langchain4j

Fork: 941 Star: 4774 (更新于 2024-11-01 14:44:48)

license: Apache-2.0

Language: Java .

Java version of LangChain

最后发布版本: 0.33.0 ( 2024-07-25 16:34:14)

官方网址 GitHub网址

LangChain for Java: Supercharge your Java application with the power of LLMs

Build Status Nightly Build CODACY

Discord X Maven Version

Introduction

Welcome!

The goal of LangChain4j is to simplify integrating LLMs into Java applications.

Here's how:

  1. Unified APIs: LLM providers (like OpenAI or Google Vertex AI) and embedding (vector) stores (such as Pinecone or Milvus) use proprietary APIs. LangChain4j offers a unified API to avoid the need for learning and implementing specific APIs for each of them. To experiment with different LLMs or embedding stores, you can easily switch between them without the need to rewrite your code. LangChain4j currently supports 15+ popular LLM providers and 15+ embedding stores.
  2. Comprehensive Toolbox: Since early 2023, the community has been building numerous LLM-powered applications, identifying common abstractions, patterns, and techniques. LangChain4j has refined these into practical code. Our toolbox includes tools ranging from low-level prompt templating, chat memory management, and function calling to high-level patterns like AI Services and RAG. For each abstraction, we provide an interface along with multiple ready-to-use implementations based on common techniques. Whether you're building a chatbot or developing a RAG with a complete pipeline from data ingestion to retrieval, LangChain4j offers a wide variety of options.
  3. Numerous Examples: These examples showcase how to begin creating various LLM-powered applications, providing inspiration and enabling you to start building quickly.

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.

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.

最近版本更新:(数据更新于 2024-09-03 04:36:52)

2024-07-25 16:34:14 0.33.0

2024-07-04 18:45:18 0.32.0

2024-05-23 23:42:04 0.31.0

2024-04-17 00:22:35 0.30.0

2024-03-28 23:43:51 0.29.1

2024-03-26 19:11:51 0.29.0

2024-03-12 03:14:54 0.28.0

2024-02-09 22:01:26 0.27.1

2024-02-09 14:58:03 0.27.0

2024-01-30 15:05:28 0.26.1

主题(topics):

anthropic, chatgpt, chroma, embeddings, gemini, gpt, huggingface, java, langchain, llama, milvus, ollama, onnx, openai, openai-api, pgvector, pinecone, vector-database, weaviate

langchain4j/langchain4j同语言 Java最近更新仓库

2024-11-21 20:32:01 spring-projects/spring-boot

2024-11-21 09:44:43 Card-Forge/forge

2024-11-19 23:42:52 spring-projects/spring-authorization-server

2024-11-18 21:40:12 4379711/lol-helper

2024-11-16 22:50:41 xuxueli/xxl-job

2024-11-16 19:06:35 Stirling-Tools/Stirling-PDF