Welcome! We will have more than 1 version of the lab exercise: Java being the primary version, with examples also using Python and .Net (Thanks to our Community Contributors!).
- Preferably using an IDE such as IntelliJ, VS Code, (or any equivalent tooling). CLI is okay too but you may need a bit of experimentation.J
- DK 17 or higher (can be any distribution from any vendor, such as the OpenJDK/Adoptium, Oracle distro, etc)
- Maven 3.8 or higher (Gradle will be okay too if you prefer it) _We'll be utilizing Spring AI and the online spring initializr to generate the initial project 'frame', so the various library dependencies will be downloaded by default (including Spring Boot, Spring AI, Postgres with PgVector libraries...)
- Spring AI reference materials can be found in here
-
- OpenAI https://github.com/ai-ml-workshops/ai-openai-helloworld
- Ollama https://github.com/ai-ml-workshops/ai-ollama-helloworld
- Spring AI RAG sample (from Dan Vega)[https://www.danvega.dev/blog/2024/10/22/getting-started-with-spring-ai-rag#building-your-first-rag-application]
- AI Chatbot
- Document Retrieval for Language Models (RAG)
- Python 3 (consider installing with python virtual environment like pyenv)
- Python IDE of your choice (Visual Studio Code, PyCharm, etc.)
- Docker or Podman
- OpenAI API key (see instructions below)
- Langchain API key to use LangSmith for debugging (optional). To create account and API key, refer to these instructions.
- If you're using Windows, install Git Bash so that you can run the commands below (if using VSCode you can select Git Bash after starting the integrated terminal)
- Visual Studio 2022
- .NET 8
- OpenAI API key (see instructions below)
OpenAI Hello World example with C#
- Create an OpenAI free account (signup for new user).
- You must add money to your account before generating an Open AI Key. The minimum amount of $5 should be sufficient.
- You can verify your balance on the billing dashboard. Make sure you see "Auto recharge is off" below your balance, so that it doesn't automatically charge you when you run out of balance.
- Generate OpenAI key
This website has good step-by-step instructions.
- HuggingFace Account (signup for new user)
- AI-ML-Workshops community organization (OPTIONAL: Please join our new AI-ML-Workshops community organization for continuous info sharing and learning through the community, beyond the scope of this workshop)
If you prefer using a container runtime for the DataStore or Database, instead of local installation.
Database and extension(s) (OPTIONAL: needed if not using Docker image and/or if you prefer manual or local installations)
- PostgreSQL (Download site)
- PgVector vector extension
Please check back here for more info, including the Workshop GitHub repo when the lab exercises are ready for you