diff --git a/packages/dashboard/src/pages/RAG.tsx b/packages/dashboard/src/pages/RAG.tsx index b03f3b6..f206215 100644 --- a/packages/dashboard/src/pages/RAG.tsx +++ b/packages/dashboard/src/pages/RAG.tsx @@ -293,6 +293,8 @@ export function RAGPage() { {/* Embedding Provider */}
- + {editConfig ? ( setConfigDraft(p => ({ ...p, embeddingModel: e.target.value }))} className="w-full mt-1 px-3 py-2 bg-zinc-800 border border-zinc-700 rounded-lg text-white text-sm" @@ -393,10 +399,12 @@ export function RAGPage() { {/* Chunk Size */}
- + {editConfig ? ( setConfigDraft(p => ({ ...p, chunkSize: Number(e.target.value) }))} className="w-full mt-1 px-3 py-2 bg-zinc-800 border border-zinc-700 rounded-lg text-white text-sm" @@ -408,10 +416,12 @@ export function RAGPage() { {/* Chunk Overlap */}
- + {editConfig ? ( setConfigDraft(p => ({ ...p, chunkOverlap: Number(e.target.value) }))} className="w-full mt-1 px-3 py-2 bg-zinc-800 border border-zinc-700 rounded-lg text-white text-sm" @@ -423,10 +433,12 @@ export function RAGPage() { {/* Max Results */}
- + {editConfig ? ( setConfigDraft(p => ({ ...p, maxResults: Number(e.target.value) }))} className="w-full mt-1 px-3 py-2 bg-zinc-800 border border-zinc-700 rounded-lg text-white text-sm" @@ -438,10 +450,12 @@ export function RAGPage() { {/* Similarity Threshold */}
- + {editConfig ? (