smwebsdk.conversationresultresponsebody
Home > @soulmachines/smwebsdk > ConversationResultResponseBody
ConversationResultResponseBody interface
Signature:
export interface ConversationResultResponseBody
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
errorMessage? | string | (Optional) | |
input | { text: string; context?: any; } | ||
output | { text: string; context: Record<string, string | unknown>; provider?: { kind: 'watson' | 'dialogflow'; meta: any; }; } | ||
personaId | PersonaId | ||
provider | { kind: string; meta: { conversation_id?: string; dialogflow?: { responseId: string; queryResult: { allRequiredParamsPresent: boolean; fulfillmentMessages: any[]; fulfillmentText: string; intent: { displayName: string; name: string; }; intentDetectionConfidence: number; languageCode: string; outputContexts: { lifespanCount: number; name: string; parameters: Record<string, string | unknown>; }[]; }; }; }; } | ||
status | number |