diff --git a/studio/frontend/src/features/chat/api/chat-adapter.ts b/studio/frontend/src/features/chat/api/chat-adapter.ts index 2ef884d6e0..2978c168be 100644 --- a/studio/frontend/src/features/chat/api/chat-adapter.ts +++ b/studio/frontend/src/features/chat/api/chat-adapter.ts @@ -401,7 +401,6 @@ interface DocumentSourcePart { pageCharEnd?: string; lineStart?: string; lineEnd?: string; - score?: string; text: string; } @@ -477,9 +476,6 @@ function toDocumentSourcePart( if (chunk.lineEnd) { part.lineEnd = chunk.lineEnd; } - if (chunk.score) { - part.score = chunk.score; - } return part; } diff --git a/studio/frontend/src/features/chat/chat-settings-sheet.tsx b/studio/frontend/src/features/chat/chat-settings-sheet.tsx index 0e08855848..de3450119c 100644 --- a/studio/frontend/src/features/chat/chat-settings-sheet.tsx +++ b/studio/frontend/src/features/chat/chat-settings-sheet.tsx @@ -712,7 +712,6 @@ export function ChatSettingsPanel({ activeExternalProvider.providerType, externalSelection?.modelId, ); - const activeThreadId = useChatRuntimeStore((s) => s.activeThreadId); const openAiApiKeyForSection = activeExternalProvider ? getExternalProviderApiKey(activeExternalProvider.id) || null : null; @@ -1658,30 +1657,6 @@ export function ChatSettingsPanel({ grounding, more tokens.
-- Cosine-similarity floor for retrieved chunks (0 = off). Set - above 0 so unrelated docs are dropped — useful when your - query is off-topic from what's indexed. Try 0.3 as a - starting point. -
-