Skip to content

SpanTextValue

Source code in docs_src/capo_qconnect/types/span_text_value.py
class SpanTextValue(TypedDict, closed=True):
    value: "capo_qconnect.types.non_empty_sensitive_string.NonEmptySensitiveString"
    """<p>String content of the message text</p>"""
    citations: NotRequired["capo_qconnect.types.span_citation_list.SpanCitationList"]
    """<p>The citations associated with the span text.</p>"""
    ai_guardrail_assessment: NotRequired[
        "capo_qconnect.types.ai_guardrail_assessment.AIGuardrailAssessment"
    ]
    """<p>The AI Guardrail assessment for the span text.</p>"""

ai_guardrail_assessment instance-attribute

ai_guardrail_assessment: NotRequired[AIGuardrailAssessment]

The AI Guardrail assessment for the span text.

citations instance-attribute

citations: NotRequired[SpanCitationList]

The citations associated with the span text.

value instance-attribute

String content of the message text