blob: 35a677aeba0f3b6e4745e707f418ca0198f67e0f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
export interface Bookmark {
id: string;
title: string | null;
content: {
type: string;
title: string;
url?: string;
text?: string;
htmlContent?: string;
description?: string;
};
tags: Array<{ name: string; attachedBy?: "ai" | "human" }>;
}
export interface ModelConfig {
name: string;
apiKey: string;
baseUrl?: string;
}
export interface ComparisonResult {
bookmark: Bookmark;
modelA: string;
modelATags: string[];
modelB: string;
modelBTags: string[];
winner?: "modelA" | "modelB" | "skip";
}
export interface FinalResults {
model1Name: string;
model2Name: string;
model1Votes: number;
model2Votes: number;
skipped: number;
errors: number;
total: number;
}
|