()
| 44 | } |
| 45 | |
| 46 | func (a *knowledgePluginAdapter) manager() *ctxmgr.Manager { |
| 47 | if a.cli.contextHandler == nil { |
| 48 | return nil |
| 49 | } |
| 50 | return a.cli.contextHandler.GetManager() |
| 51 | } |
| 52 | |
| 53 | // Search runs hybrid retrieval and renders cited passages. |
| 54 | func (a *knowledgePluginAdapter) Search(query, kb string, topK int) (string, error) { |
no test coverage detected