dspy.experimental.Citations

dspy.experimental.Citations

이 페이지는 DSPy의 실험적 기능 Citations를 다뤄요. 답변에 인용(citation)을 붙이는 기능으로, 검색 결과에서 가져온 근거 문서를 생성된 답변의 해당 위치와 연결해 줘요. 사실성과 추적 가능성을 중시하는 RAG 시스템에서 특히 유용해요.

출처: 문서

본문

Citations는 LM 응답을 파싱하고, 응답의 인용 표현을 근거 문서와 매핑해 주는 실험적 모듈이에요. 아래는 이 클래스가 노출하는 멤버 목록이에요.

::: dspy.experimental.Citations
    handler: python
    options:
        members:
            - adapt_to_native_lm_feature
            - description
            - extract_custom_type_from_annotation
            - format
            - from_dict_list
            - is_streamable
            - parse_lm_response
            - parse_stream_chunk
            - serialize_model
            - validate_input
        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)