dspy.inspect_history

dspy.inspect_history

지금까지 기록된 LM 호출 히스토리를 확인하는 함수예요. 프로그램이 모델에 어떤 프롬프트를 보냈는지 되짚어볼 때 유용해요.

출처: 문서

본문

dspy.inspect_history는 저장된 LM 호출 히스토리를 보여줘요. 아래 레퍼런스는 소스 docstring에서 자동 생성돼요.

::: dspy.inspect_history
    handler: python
    options:
        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)