RequestOptions Members
Implements common configuration options for text-based requests.Constructors
Name | Description |
---|---|
RequestOptions() | Initializes a new instance of the RequestOptions class. |
Properties
Name | Description |
---|---|
Context | Gets or sets the context that guides the AI model in generating relevant responses. |
MaxTokens | Gets or sets the maximum number of tokens that can be processed by a model request. |
PromptAugmentation | Gets or sets additional instructions that modify the prompt before processing. |
Temperature | Gets or sets the balance between creativity and consistency in AI responses. |
Methods
Name | Description |
---|---|
Assign(RequestOptions) | Copies all settings from the options object passed as a parameter. |
Equals(Object, Object) static | Determines 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() protected | Creates a shallow copy of the current Object. Inherited from Object. |
ReferenceEquals(Object, Object) static | Determines 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