package
Version:
v0.5.2
Opens a new window with list of versions in this module.
Published: Oct 22, 2026
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package search ranks tools for code mode's searchTools() and the tool_search tool with BM25.
RankDocuments is Okapi BM25 (k1 1.2, b 0.75): the names of the best matches, best first; ties keep document order.
type Document struct{ Name, Text string }
Document is a tool as the ranker sees it: its name and its text.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.