LangChainChatModelFactory

A factory class to create a Langchain4j language model client. The factory creates a client based on the given properties.

The factory supports the following providers:

  • OPENAI

  • ANTHROPIC

  • GEMINI

  • OLLAMA

  • OTHER (for other providers which have OpenAI compatible API)

Types

Link copied to clipboard
object Companion