aisbreaker-api-js - v0.1.15 / api/models/ResponseFinal / ResponseFinal
Interface: ResponseFinal
api/models/ResponseFinal.ResponseFinal
Full/final/last response received for a request from the AI service.
Table of contents
Properties
Properties
conversationState
• Optional
conversationState: string
The value presents the conversation, i.e. the history of all (relevant) messages of the conversation. Not set for the first call of a conversation. The conversation_state
value is returned by previous call of the same conversation. The value is opaque to the client, it could be e.g. a conversation ID or the full conversation state as base64-encoded JSON string or ...
Defined in
aisbreaker-js/packages/aisbreaker-api-js/src/api/models/ResponseFinal.ts:16
internResponse
• Optional
internResponse: any
Service implementation specific reponse values.
Try to avoid using them because they are NOT portable!!!
Defined in
aisbreaker-js/packages/aisbreaker-api-js/src/api/models/ResponseFinal.ts:25
outputs
• outputs: Output
[]
List of messages (prompts, media, ...) received from the AI service in the context of conversation_state
.
Defined in
aisbreaker-js/packages/aisbreaker-api-js/src/api/models/ResponseFinal.ts:11
usage
• usage: Usage
Defined in
aisbreaker-js/packages/aisbreaker-api-js/src/api/models/ResponseFinal.ts:18