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 Summary
ConstructorsConstructorDescriptionDeclarativeAiServiceCreateInfo(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 aDeclarativeAiServiceCreateInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theauditServiceClassSupplierNamerecord component.Returns the value of thechatMemoryProviderSupplierClassNamerecord component.Returns the value of thechatModelNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thelanguageModelSupplierClassNamerecord component.Returns the value of themoderationModelNamerecord component.Returns the value of themoderationModelSupplierClassNamerecord component.booleanReturns the value of theneedsModerationModelrecord component.booleanReturns the value of theneedsStreamingChatModelrecord component.Returns the value of theretrievalAugmentorSupplierClassNamerecord component.Returns the value of theretrieverClassNamerecord component.Returns the value of theserviceClassNamerecord component.Returns the value of thetoolsClassNamesrecord component.final StringtoString()Returns a string representation of this record class.
-
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 aDeclarativeAiServiceCreateInforecord class.- Parameters:
serviceClassName- the value for theserviceClassNamerecord componentlanguageModelSupplierClassName- the value for thelanguageModelSupplierClassNamerecord componenttoolsClassNames- the value for thetoolsClassNamesrecord componentchatMemoryProviderSupplierClassName- the value for thechatMemoryProviderSupplierClassNamerecord componentretrieverClassName- the value for theretrieverClassNamerecord componentretrievalAugmentorSupplierClassName- the value for theretrievalAugmentorSupplierClassNamerecord componentauditServiceClassSupplierName- the value for theauditServiceClassSupplierNamerecord componentmoderationModelSupplierClassName- the value for themoderationModelSupplierClassNamerecord componentchatModelName- the value for thechatModelNamerecord componentmoderationModelName- the value for themoderationModelNamerecord componentneedsStreamingChatModel- the value for theneedsStreamingChatModelrecord componentneedsModerationModel- the value for theneedsModerationModelrecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
serviceClassName
Returns the value of theserviceClassNamerecord component.- Returns:
- the value of the
serviceClassNamerecord component
-
languageModelSupplierClassName
Returns the value of thelanguageModelSupplierClassNamerecord component.- Returns:
- the value of the
languageModelSupplierClassNamerecord component
-
toolsClassNames
Returns the value of thetoolsClassNamesrecord component.- Returns:
- the value of the
toolsClassNamesrecord component
-
chatMemoryProviderSupplierClassName
Returns the value of thechatMemoryProviderSupplierClassNamerecord component.- Returns:
- the value of the
chatMemoryProviderSupplierClassNamerecord component
-
retrieverClassName
Returns the value of theretrieverClassNamerecord component.- Returns:
- the value of the
retrieverClassNamerecord component
-
retrievalAugmentorSupplierClassName
Returns the value of theretrievalAugmentorSupplierClassNamerecord component.- Returns:
- the value of the
retrievalAugmentorSupplierClassNamerecord component
-
auditServiceClassSupplierName
Returns the value of theauditServiceClassSupplierNamerecord component.- Returns:
- the value of the
auditServiceClassSupplierNamerecord component
-
moderationModelSupplierClassName
Returns the value of themoderationModelSupplierClassNamerecord component.- Returns:
- the value of the
moderationModelSupplierClassNamerecord component
-
chatModelName
Returns the value of thechatModelNamerecord component.- Returns:
- the value of the
chatModelNamerecord component
-
moderationModelName
Returns the value of themoderationModelNamerecord component.- Returns:
- the value of the
moderationModelNamerecord component
-
needsStreamingChatModel
public boolean needsStreamingChatModel()Returns the value of theneedsStreamingChatModelrecord component.- Returns:
- the value of the
needsStreamingChatModelrecord component
-
needsModerationModel
public boolean needsModerationModel()Returns the value of theneedsModerationModelrecord component.- Returns:
- the value of the
needsModerationModelrecord component
-