Back to Devexpress

RequestOptions Members

corelibraries-devexpress-dot-aiintegration-dot-extensions-dot-requestoptions-dot-underscore-members.md

latest3.5 KB
Original Source

RequestOptions Members

Implements common configuration options for text-based requests.

Constructors

NameDescription
RequestOptions()Initializes a new instance of the RequestOptions class.

Properties

NameDescription
ContextGets or sets the context that guides the AI model in generating relevant responses.
MaxTokensGets or sets the maximum number of tokens that can be processed by a model request.
PromptAugmentationGets or sets additional instructions that modify the prompt before processing.
TemperatureGets or sets the balance between creativity and consistency in AI responses.

Methods

NameDescription
Assign(RequestOptions)Copies all settings from the options object passed as a parameter.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ToString()Returns a string that represents the current object. Inherited from Object.

See Also

RequestOptions Class

DevExpress.AIIntegration.Extensions Namespace