Record Class DeclarativeAiServiceCreateInfo

java.lang.Object
java.lang.Record
io.quarkiverse.langchain4j.runtime.aiservice.DeclarativeAiServiceCreateInfo

public record DeclarativeAiServiceCreateInfo(String serviceClassName, String languageModelSupplierClassName, List<String> toolsClassNames, String chatMemoryProviderSupplierClassName, String retrieverClassName, String retrievalAugmentorSupplierClassName, String auditServiceClassSupplierName, String moderationModelSupplierClassName, String chatModelName, String moderationModelName, boolean needsStreamingChatModel, boolean needsModerationModel) extends Record
  • Constructor Details

    • DeclarativeAiServiceCreateInfo

      public DeclarativeAiServiceCreateInfo(String serviceClassName, String languageModelSupplierClassName, List<String> toolsClassNames, String chatMemoryProviderSupplierClassName, String retrieverClassName, String retrievalAugmentorSupplierClassName, String auditServiceClassSupplierName, String moderationModelSupplierClassName, String chatModelName, String moderationModelName, boolean needsStreamingChatModel, boolean needsModerationModel)
      Creates an instance of a DeclarativeAiServiceCreateInfo record class.
      Parameters:
      serviceClassName - the value for the serviceClassName record component
      languageModelSupplierClassName - the value for the languageModelSupplierClassName record component
      toolsClassNames - the value for the toolsClassNames record component
      chatMemoryProviderSupplierClassName - the value for the chatMemoryProviderSupplierClassName record component
      retrieverClassName - the value for the retrieverClassName record component
      retrievalAugmentorSupplierClassName - the value for the retrievalAugmentorSupplierClassName record component
      auditServiceClassSupplierName - the value for the auditServiceClassSupplierName record component
      moderationModelSupplierClassName - the value for the moderationModelSupplierClassName record component
      chatModelName - the value for the chatModelName record component
      moderationModelName - the value for the moderationModelName record component
      needsStreamingChatModel - the value for the needsStreamingChatModel record component
      needsModerationModel - the value for the needsModerationModel record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • serviceClassName

      public String serviceClassName()
      Returns the value of the serviceClassName record component.
      Returns:
      the value of the serviceClassName record component
    • languageModelSupplierClassName

      public String languageModelSupplierClassName()
      Returns the value of the languageModelSupplierClassName record component.
      Returns:
      the value of the languageModelSupplierClassName record component
    • toolsClassNames

      public List<String> toolsClassNames()
      Returns the value of the toolsClassNames record component.
      Returns:
      the value of the toolsClassNames record component
    • chatMemoryProviderSupplierClassName

      public String chatMemoryProviderSupplierClassName()
      Returns the value of the chatMemoryProviderSupplierClassName record component.
      Returns:
      the value of the chatMemoryProviderSupplierClassName record component
    • retrieverClassName

      public String retrieverClassName()
      Returns the value of the retrieverClassName record component.
      Returns:
      the value of the retrieverClassName record component
    • retrievalAugmentorSupplierClassName

      public String retrievalAugmentorSupplierClassName()
      Returns the value of the retrievalAugmentorSupplierClassName record component.
      Returns:
      the value of the retrievalAugmentorSupplierClassName record component
    • auditServiceClassSupplierName

      public String auditServiceClassSupplierName()
      Returns the value of the auditServiceClassSupplierName record component.
      Returns:
      the value of the auditServiceClassSupplierName record component
    • moderationModelSupplierClassName

      public String moderationModelSupplierClassName()
      Returns the value of the moderationModelSupplierClassName record component.
      Returns:
      the value of the moderationModelSupplierClassName record component
    • chatModelName

      public String chatModelName()
      Returns the value of the chatModelName record component.
      Returns:
      the value of the chatModelName record component
    • moderationModelName

      public String moderationModelName()
      Returns the value of the moderationModelName record component.
      Returns:
      the value of the moderationModelName record component
    • needsStreamingChatModel

      public boolean needsStreamingChatModel()
      Returns the value of the needsStreamingChatModel record component.
      Returns:
      the value of the needsStreamingChatModel record component
    • needsModerationModel

      public boolean needsModerationModel()
      Returns the value of the needsModerationModel record component.
      Returns:
      the value of the needsModerationModel record component