Skip to main content

smwebsdk.conversationresultresponsebody

Home > @soulmachines/smwebsdk > ConversationResultResponseBody

ConversationResultResponseBody interface

Signature:

export interface ConversationResultResponseBody 

Properties

PropertyModifiersTypeDescription
errorMessage?string(Optional)
input{ text: string; context?: any; }
output{ text: string; context: Record<string, string | unknown>; provider?: { kind: 'watson' | 'dialogflow'; meta: any; }; }
personaIdPersonaId
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>; }[]; }; }; }; }
statusnumber