Package dev.langchain4j.model.chat
See: Description
-
Interface Summary Interface Description TokenCountEstimator Represents an interface for estimating the count of tokens in various text types such as a text, message, prompt, text segment, etc. ChatLanguageModel Represents a language model that has a chat API. StreamingChatLanguageModel Represents a language model that has a chat API and can stream a response one token at a time. -
Class Summary Class Description DisabledStreamingChatLanguageModel A StreamingChatLanguageModel which throws a ModelDisabledException for all of its methods This could be used in tests, or in libraries that extend this one to conditionally enable or disable functionality. DisabledChatLanguageModel A ChatLanguageModel which throws a ModelDisabledException for all of its methods This could be used in tests, or in libraries that extend this one to conditionally enable or disable functionality. -
Enum Summary Enum Description Capability Represents a capability of a ChatLanguageModel or StreamingChatLanguageModel.