Skip to content

Commit dcb43c5

Browse files
committed
ui fixes
1 parent 4ad455b commit dcb43c5

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

app/frontend/src/pages/ask/Ask.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ export function Component(): JSX.Element {
102102
setShowSpeechOutputAzure(config.showSpeechOutputAzure);
103103
setShowAgenticRetrievalOption(config.showAgenticRetrievalOption);
104104
setUseAgenticRetrieval(config.showAgenticRetrievalOption);
105+
if (config.showAgenticRetrievalOption) {
106+
setRetrieveCount(10);
107+
setMinimumRerankerScore(1.5);
108+
}
105109
});
106110
};
107111

app/frontend/src/pages/chat/Chat.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,10 @@ const Chat = () => {
135135
setShowChatHistoryCosmos(config.showChatHistoryCosmos);
136136
setShowAgenticRetrievalOption(config.showAgenticRetrievalOption);
137137
setUseAgenticRetrieval(config.showAgenticRetrievalOption);
138+
if (config.showAgenticRetrievalOption) {
139+
setRetrieveCount(10);
140+
setMinimumRerankerScore(1.5);
141+
}
138142
});
139143
};
140144

0 commit comments

Comments
 (0)