hackoon
Version:
Immunefi Hackoon CLI
18 lines (17 loc) • 440 B
TypeScript
import { JSONValue } from "ai";
type Context = {
id: string;
score: number;
values: string[];
metadata: {
chunk: string;
hash: string;
"loc.lines.from": number;
"loc.lines.to": number;
text: string;
url: string;
};
};
export declare function getContextSources(context: Context[]): string[];
export declare function getContextDocuments(data?: JSONValue[]): any;
export {};