dspy.evaluate.CompleteAndGrounded

dspy.evaluate.CompleteAndGrounded

이 페이지는 DSPy 평가용 클래스 CompleteAndGrounded를 다뤄요. 답변이 완전한지(complete)와 근거가 있는지(grounded)를 함께 평가하는 메트릭으로, 대화형·RAG 시스템에서 정답이 단지 "일치"를 넘어 충분히 상세하고 주어진 근거에 기반하고 있는지를 판단할 때 써요.

출처: 문서

본문

CompleteAndGrounded는 dspy.Module 계통의 메트릭으로, forward에서 예측과 근거를 검사해 완전성과 근거성 점수를 내놓아요. 아래는 이 클래스가 노출하는 멤버 목록이에요.

::: dspy.evaluate.CompleteAndGrounded
    handler: python
    options:
        members:
            - __call__
            - acall
            - batch
            - deepcopy
            - dump_state
            - forward
            - get_lm
            - inspect_history
            - load
            - load_state
            - map_named_predictors
            - named_parameters
            - named_predictors
            - named_sub_modules
            - parameters
            - predictors
            - reset_copy
            - save
            - set_lm
        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)