Class LlamaChatCompletionRequest
Contents
[
Hide
]LlamaChatCompletionRequest class
Represents the request body for the ChatGPT API requests.
public class LlamaChatCompletionRequest
Constructors
| Name | Description |
|---|---|
| LlamaChatCompletionRequest() | The default constructor. |
Properties
| Name | Description |
|---|---|
| FrequencyPenalty { get; set; } | Sets or gets the frequency penalty to use during sampling. |
| LogitBias { get; set; } | Sets or gets the logit bias to use during sampling. |
| MaxTokens { get; set; } | Sets or gets the maximum number of tokens to generate in the chat completion. Default value is null, means infinity. |
| Messages { get; set; } | Sets or gets a list of messages comprising the conversation. |
| Model { get; set; } | Sets or gets ID of the model to use. |
| NumberOfChoices { get; set; } | Sets or gets how many chat completion choices to generate for each input message. |
| PresencePenalty { get; set; } | Sets or gets the presence penalty to use during sampling. |
| Stream { get; set; } | Sets or gets whether to stream the response. |
| Temperature { get; set; } | Sets or gets the sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. Default value is 1. |
See Also
- namespace Aspose.Pdf.AI
- assembly Aspose.PDF