https://github.com/datastaxdevs/ai-agent-java
Online workshop to learn how to build your own Java AI Agent
https://github.com/datastaxdevs/ai-agent-java
Last synced: 8 months ago
JSON representation
Online workshop to learn how to build your own Java AI Agent
- Host: GitHub
- URL: https://github.com/datastaxdevs/ai-agent-java
- Owner: datastaxdevs
- License: apache-2.0
- Created: 2024-05-01T20:20:45.000Z (almost 2 years ago)
- Default Branch: workshop-intro
- Last Pushed: 2024-09-04T10:44:50.000Z (over 1 year ago)
- Last Synced: 2025-04-13T08:57:07.832Z (10 months ago)
- Homepage:
- Size: 1.87 MB
- Stars: 11
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Build your own Java RAG AI Agent
☕️ Welcome to this workshop to build your own Java AI Agent using Retrieval Augmented Generation.
🏆 It leverages the best of open-source for fast implementation of the RAG pattern for production quality applications.
🤩 The completed RAG ChatBot will demonstrate how your AI Agent can do
- LLM and Prompt Engineering
- Conversational Memory
- Vector Similarity Searching and Dense Passage Retrieval
- Transform, chunk, and vectorise unstructured files like PDFs
- Caching of LLM responses for latency and cost performance
- Reranking of search results
- Vector calculations using JVector
- Online searching using the Tavily service
- Hybrid Searching
- Closed Loop Feedback System
- LLM Function Calling
- Time Series Vector Similarity Searching
♻️ This workshop uses Java 21, Spring AI and Vaadin for the UI. The use of Spring and Vaadin is minimal, the code is intended to be re-used in other frameworks.
👩 It is CQL compatbile with Apache Cassandra® 5.0 and AstraDB Vector. Database schemas and data models are intentionally flexible so the concepts in the workshop can be retrofitted to your needs and your production.
🙇 The workshop will use the services: OpenAI, Tavily, and AstraDB. You will need accounts and api keys for each of these.
🌴 Each step in the workshop is a separate branch in this repository, you will need to be familiar with git switching between branches.
💪🏽 To move on to read the [requirements setup step](../workshop-intro-requirements), do the following:
```
git switch workshop-intro-requirements
```
***
      
***
All work is copyrighted to DataStax, Inc