Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var OnnxLibraryPath string
OnnxLibraryPath can be set via CLI flag to override the default resolution logic
Functions ¶
Types ¶
type ListDocumentsInput ¶
type ListDocumentsInput struct{}
ListDocumentsInput defines the input for list_documents (empty).
type ListDocumentsOutput ¶
type ListDocumentsOutput struct {
Documents string `json:"documents"`
}
ListDocumentsOutput defines the output for list_documents.
type SearchInput ¶
type SearchInput struct {
Query string `json:"query" jsonschema:"The search query to find relevant documents"`
Limit int `json:"limit,omitempty" jsonschema:"Maximum number of results to return (default: 5, max: 20)"`
Rerank *bool `json:"rerank,omitempty" jsonschema:"Enable cross-encoder reranking for better relevance (default: true when available)"`
Candidates int `json:"candidates,omitempty" jsonschema:"Number of candidates to fetch before reranking (default: 50, max: 100)"`
}
SearchInput defines the input parameters for the search tool.
type SearchOutput ¶
type SearchOutput struct {
Results string `json:"results"`
}
SearchOutput defines the output for the search tool.
Click to show internal directories.
Click to hide internal directories.