diff --git a/ui-svelte/src/components/playground/RerankInterface.svelte b/ui-svelte/src/components/playground/RerankInterface.svelte new file mode 100644 index 00000000..40ab8957 --- /dev/null +++ b/ui-svelte/src/components/playground/RerankInterface.svelte @@ -0,0 +1,406 @@ + + +
No models configured. Add models to your configuration to use reranking.
+{jsonError}
+ {/if} +| Document | ++ Score{sortIndicator()} + | ++ |
|---|---|---|
| + updateDoc(i, (e.target as HTMLInputElement).value)} + disabled={isLoading} + onkeydown={handleKeyDown} + /> + | ++ {#if isLoading && row.score === null && row.doc.trim() !== ""} + + {:else} + {formatScore(row.score)} + {/if} + | ++ + | +