fix:hard-coded top-k fallback issue. (#24879)

This commit is contained in:
Frederick2313072
2025-09-01 15:46:37 +08:00
committed by GitHub
parent d41d4deaac
commit 5b3cc560d5
11 changed files with 16 additions and 16 deletions

View File

@@ -49,7 +49,7 @@ const TextAreaWithButton = ({
const { t } = useTranslation()
const [isSettingsOpen, setIsSettingsOpen] = useState(false)
const [externalRetrievalSettings, setExternalRetrievalSettings] = useState({
top_k: 2,
top_k: 4,
score_threshold: 0.5,
score_threshold_enabled: false,
})