This repo have multiple advanced LLM examples using langchain4j-workflow
and langchain4j
libs.
Please note that examples can be modified and more examples will be added over time.
- Mixture-of-Agents (MoA):
- Java example:
langchain4j-moa
- Based on Paper: https://arxiv.org/pdf/2406.04692
- Java example:
- Corrective RAG (CRAG):
- Java example:
langchain4j-corrective-rag
- Based on Paper: https://arxiv.org/pdf/2401.15884
- Java example:
- Adaptive RAG:
- Java example: Very soon
- Based on Paper: https://arxiv.org/pdf/2403.14403
- Self RAG:
- Java example: Very soon
- Based on Paper: https://arxiv.org/pdf/2310.11511
- Modular RAG:
- Java example: Very soon
- Based on Paper: https://arxiv.org/pdf/2312.10997v1
- Multi-agent Collaboration:
- Java example: Very soon
- Based on Paper: https://arxiv.org/pdf/2308.08155
- Agent Supervisor:
- Java example: Very soon
- Based on Paper: https://arxiv.org/pdf/2308.08155
- Planning Agents:
- Java example: Very soon
- Based on Paper: https://arxiv.org/pdf/2305.04091
If you want to contribute with more examples, please follow the steps below:
- Fork this repo
- Create a new branch
- Add your example
- Create a PR
- Wait for the review
- After revision your PR can be merged =)
- Done!
Thank you for your contribution! 🚀