Skip to main content

ChatCompletionRequest

Description

Properties

NameTypeDescriptionNotes
modelStringThe model to use for generating chat completions (e.g. 'gpt-4').
promptStringOptional field, historically used in non-chat contexts; often omitted.[optional]
messagesList<ChatMessage>Array of role-based messages to control the conversation.
temperatureFloatthe amount of desired variance or non-determinism in the result[optional]
streamBooleanWhether to stream partial results (OpenAI streaming). Usually false.[optional]
idUUIDUnique identifier for object in the system[optional]
ownerIdUUIDUUID of owner of the object in the system[optional]
createdDateOffsetDateTimeDate of object creation[optional]
keyHashStringData, including hash of the key(s) used to encrypt this record.[optional]
lastAccessedByIdUUIDLast user to access object[optional]
lastAccessedDateOffsetDateTimeTimestamp of last access of object[optional]
lastModifiedByIdUUIDUnique identifier for user who last modifed the object in the system[optional]
lastModifiedDateOffsetDateTimeDate of last object modification[optional]

Implemented Interfaces

  • Serializable

Generated Version Details

~value
GENERATOR VERSIONcom.valkyrlabs:ValkyrAI API 1.0-SNAPSHOT
API ARTIFACTcom.valkyrlabs.valkyrai-api.jar
GENERATOR VERSIONorg.openapitools.openapi-generator:7.5.0
GENERATOR CLASSorg.openapitools.codegen.languages.SpringCodegen
GENERATED DATE2025-04-09T20:27:13.881184-07:00[America/Los_Angeles]