Skip to main content

ChatResponse

Description

The response object returned from the LLM or chat service.

Properties

NameTypeDescriptionNotes
sessionIdString[optional]
jsonStringAny JSON payload attached to this response.[optional]
sourceTypeSourceTypeEnumType of the message source (e.g., 'api', 'server_log', 'p2p').[optional]
sourceOwnerUUID[optional]
roleRoleEnum[optional]
contentStringThe textual response from the LLM.[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]

Enum: SourceTypeEnum

NameValue
API"api"
SERVER_LOG"server_log"
P2P"p2p"

Enum: RoleEnum

NameValue
USER"user"
ASSISTANT"assistant"

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]