Saltar al contenido principal
Versión: 20 R9 BETA

OpenAIChatCompletionsListParameters

This class is used to define parameters for retrieving a list of chat completions from the OpenAI API. It allows customization of pagination, sorting, and filtering of chat messages.

Inherits

Properties

PropertyTypeDefault ValueDescription
afterText""Identifier for the last message from the previous pagination request.
limitInteger0Number of messages to retrieve.
orderText"asc"Sort order for messages by timestamp. Use asc for ascending order or desc for descending order.
metadataText-A list of metadata keys to filter the chat completions by. Example: metadata[key1]=value1&metadata[key2]=value2
modelText""The model used to generate the chat completions.

See also