ragraf_search
版本: community 能力: search 操作页面: search
做什么
混合检索:词法 + 向量(RRF),每个命中都带来源
解决什么问题
不必盲读仓库:概念住在哪里,不开文件就看得见。
如何调用
ragraf_search(query=…)
ragraf -p config/ragraf.yaml query search <query>
省略号处是代理传入的值;可选参数可以不传。
参数
| 名称 | 类型 | 默认值 |
|---|---|---|
| query | str | 必填 |
| limit | int | 20 |
| kinds | list[str] | None | None |
| with_text | bool | False |
| text_width | int | 160 |
| answer | bool | False |
| mode | str | 'auto' |
返回什么
响应由该操作组装,具体由信封描述。