Interface ModelProvider.Custom

All Superinterfaces:
ModelProvider
Enclosing interface:
ModelProvider

public static non-sealed interface ModelProvider.Custom extends ModelProvider
  • Method Details

    • createChatModel

      Object createChatModel()
      Returns:
      an instance of dev.langchain4j.model.chat.ChatModel
    • createStreamingChatModel

      Object createStreamingChatModel()
      Returns:
      an instance of dev.langchain4j.model.chat.StreamingChatModel