In this article, we will explore the following:
- Brief introduction to Generative AI?
- How to interact with Open AI APIs using Java?
- How to use LangChain4j to interact with OpenAI?
- How to run a LLM model locally using Ollama?
- Working with Ollama using LangChain4j and Testcontainers.
Let’s get started.
