The prompt to complete.
Optional
model: stringThe model to use for completion.
Optional
max_tokens: numberThe maximum number of tokens to generate in the completion.
Optional
temperature: numberThe temperature to use for sampling.
Optional
top_p: numberThe top probability to use for sampling.
Optional
frequency_penalty: numberThe frequency penalty to use for sampling.
Optional
presence_penalty: numberThe presence penalty to use for sampling.
Generated using TypeDoc
Create an
OpenAiCompletionRequestDTO
object with the given properties.Returns
An
OpenAiCompletionRequestDTO
object with the given properties.