Samples showing how to build Java applications powered by Generative AI and LLMs using the LangChain4j Spring Boot extension.
| Project | Description |
|---|---|
| chat-models-ollama | Text generation with LLMs via Ollama. |
| chat-models-openai | Text generation with LLMs via OpenAI. |
| Project | Description |
|---|---|
| prompts-basics-ollama | Prompting using simple text with LLMs via Ollama. |
| prompts-basics-openai | Prompting using simple text with LLMs via OpenAI. |
| prompts-messages-ollama | Prompting using structured messages and roles with LLMs via Ollama. |
| prompts-messages-openai | Prompting using structured messages and roles with LLMs via OpenAI. |
| prompts-templates-ollama | Prompting using templates with LLMs via Ollama. |
| prompts-templates-openai | Prompting using templates with LLMs via OpenAI. |
| Project | Description |
|---|---|
| output-parsers-ollama | Parsing the LLM output as structured objects (Beans, Map, List) via Ollama. |
| output-parsers-openai | Parsing the LLM output as structured objects (Beans, Map, List) via Open AI. |
| Project | Description |
|---|---|
| embedding-models-ollama | Vector transformation (embeddings) with LLMs via Ollama. |
| embedding-models-openai | Vector transformation (embeddings) with LLMs via OpenAI. |
Coming soon
Coming soon
Coming soon
Coming soon
Coming soon
Coming soon