dspy.ColBERTv2

dspy.ColBERTv2

검색(리트리버)용으로 쓰는 ColBERTv2 클라이언트예요. dspy.ColBERTv2(url=..., k=...)처럼 만들어 검색 모듈에 연결하면, 질문에 어울리는 지문(passage)들을 가져와요.

출처: 문서

본문

dspy.ColBERTv2는 ColBERTv2 서버와 통신해서 검색 결과를 얻는 리트리버예요. 아래 레퍼런스는 소스 docstring에서 자동 생성돼요.

::: dspy.ColBERTv2
    handler: python
    options:
        members:
            - __call__
        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)