Skip to content

sms_conversation_workflow

django_spire.ai.sms.intelligence.workflows.sms_conversation_workflow

SpireSmsConversationWorkflow

Bases: BaseWorkflow

process classmethod

Source code in django_spire/ai/sms/intelligence/workflows/sms_conversation_workflow.py
@classmethod
@recorder_to_html_file('sms_workflow')
def process(
        cls,
        request: WSGIRequest,
        user_input: str,
        message_history: MessageHistory | None = None
) -> SmsIntel:
    return SmsIntel(
        body=str(
            SpireChatWorkflow.process(
                request,
                user_input=user_input,
                message_history=message_history,
            )
        )
    )