| 4 | import type { EventRecord } from "../types.js"; |
| 5 | |
| 6 | export interface RerankClient { |
| 7 | rerankEvents(input: { |
| 8 | query: string; |
| 9 | candidates: EventRecord[]; |
| 10 | topK: number; |
| 11 | }): Promise<string[]>; |
| 12 | } |
| 13 | |
| 14 | export class QwenRerankClient implements RerankClient { |
| 15 | async rerankEvents(input: { |
nothing calls this directly
no outgoing calls
no test coverage detected