Interface IChatLanguageModel<T>

Type Parameters:
T - langchain4j ChatLanguageModel implementation to wrap

public interface IChatLanguageModel<T>
Interface to implement to develop a wrapper for language model
  • Method Details

    • getLanguageModel

      T getLanguageModel()
      Get the wrapped language model
      Returns:
      the wrapped language model
    • getLanguageModelConnection

      ILanguageModelConnection getLanguageModelConnection()
      Get language model connection used by the language model
      Returns:
      the language model connection
    • getAgentConfiguration

      IAgentConfiguration getAgentConfiguration()
      Get agent configuration used by the language model
      Returns:
      the agent configuration