Lightlines
By giuseppe-trisciuoglio

langchain4j-ai-services-patterns

giuseppe-trisciuoglio3.6k installs

Build Java chatbots that remember conversations.

What it does

Guides the creation of type-safe Java AI services with conversation memory and callable tools.

When to use it

Use when building Java AI services, conversational assistants with memory, tool-calling agents, or services that return structured data.

How to use it

It changes how the agent builds Java AI services by using interfaces, annotated prompts, conversation memory, tools, and validation.

What you provide

  • An existing project

Uses

Latest review

What you need · 3

The services are implemented in Java; no runtime version is specified.

The guide is about the LangChain4j library and specifies version 1.8.0 in its dependency configuration.

The OpenAI-backed examples read this environment variable to authenticate their model; the general interface-based workflow does not specify a provider.


Access · 0

No additional actions listed.