CIOProductInsightsAgentQuestion

public struct CIOProductInsightsAgentQuestion

Struct representing a question shown to the user by the Product Insights Agent

  • The question text (1-1000 characters)

    Declaration

    Swift

    public let question: String
  • The topic category of the question

    Declaration

    Swift

    public let questionTopic: String?
  • Create a Product Insights Agent question

    Declaration

    Swift

    public init(question: String, questionTopic: String? = nil)

    Parameters

    question

    The question text (1-1000 characters)

    questionTopic

    The topic category of the question