Skip to main content

GuidedSellingConversationTurn

BETA: guided selling can still change in ways that break existing integrations. Backwards compatibility is not guaranteed while it is in beta.

What the customer saw on one step.

type GuidedSellingConversationTurn {
index: Int!
createdAt: DateTime!
cacheClass: GuidedSellingCacheClass!
answers: [GuidedSellingConversationAnswer!]!
question: GuidedSellingQuestion
advice: GuidedSellingAdvice
error: GuidedSellingTurnError
modelCalls: [GuidedSellingModelCall!]!
}

Fields​

GuidedSellingConversationTurn.index ● Int! non-null scalar​

1-based position in the conversation.

GuidedSellingConversationTurn.createdAt ● DateTime! non-null scalar​

Moment the step was served.

GuidedSellingConversationTurn.cacheClass ● GuidedSellingCacheClass! non-null enum​

How the step was produced.

GuidedSellingConversationTurn.answers ● [GuidedSellingConversationAnswer!]! non-null object​

Every answer so far, oldest first: the question, and the option picked or the text typed.

GuidedSellingConversationTurn.question ● GuidedSellingQuestion object​

The question served, when the step was a question.

GuidedSellingConversationTurn.advice ● GuidedSellingAdvice object​

The advice served, when the step was the advice.

GuidedSellingConversationTurn.error ● GuidedSellingTurnError object​

Set when the step failed instead of producing a question or an advice.

GuidedSellingConversationTurn.modelCalls ● [GuidedSellingModelCall!]! non-null object​

The model calls that produced the step this turn served: for a COLD or INFLIGHT turn the calls made for it, for a HIT turn the calls that computed the stored step (serving it cost nothing, and the calls may have been made in advance or for another conversation), none for the opener. A call shows under every turn it served; count each id once.

Member Of​

GuidedSellingConversationTurnResponse object