dspy.streaming.StatusMessageProvider

dspy.streaming.StatusMessageProvider

스트리밍 이벤트에 실을 상태 메시지를 만드는 역할을 하는 클래스예요. 모듈·LM·도구가 시작하고 끝날 때 내보낼 메시지를 정의해요.

출처: 문서

본문

dspy.streaming.StatusMessageProvider는 상태 메시지를 생성하는 인터페이스예요. 아래 레퍼런스는 소스 docstring에서 자동 생성돼요.

::: dspy.streaming.StatusMessageProvider
    handler: python
    options:
        members:
            - lm_end_status_message
            - lm_start_status_message
            - module_end_status_message
            - module_start_status_message
            - tool_end_status_message
            - tool_start_status_message
        show_source: true
        show_root_heading: true
        heading_level: 2
        docstring_style: google
        show_root_full_path: true
        show_object_full_path: false
        separate_signature: false
        inherited_members: true

더 알아보기 (Learn more)