Skip to content

Commit 93cbdbc

Browse files
committed
Add missing ts fields
1 parent 067e1f4 commit 93cbdbc

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

app/frontend/src/api/models.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export type ChatAppRequestOverrides = {
3737
gpt4v_input?: GPT4VInput;
3838
vector_fields: VectorFieldOptions[];
3939
language: string;
40+
use_bing_search?: boolean;
4041
};
4142

4243
export type ResponseMessage = {
@@ -85,6 +86,7 @@ export type Config = {
8586
showGPT4VOptions: boolean;
8687
showSemanticRankerOption: boolean;
8788
showVectorOption: boolean;
89+
showBingSearchOption: boolean;
8890
showUserUpload: boolean;
8991
showLanguagePicker: boolean;
9092
showSpeechInput: boolean;

app/frontend/src/components/Settings/Settings.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export interface SettingsProps {
2424
retrievalMode: RetrievalMode;
2525
useGPT4V: boolean;
2626
gpt4vInput: GPT4VInput;
27+
useBingSearch: boolean;
2728
vectorFieldList: VectorFieldOptions[];
2829
showSemanticRankerOption: boolean;
2930
showGPT4VOptions: boolean;
@@ -40,6 +41,7 @@ export interface SettingsProps {
4041
promptTemplatePrefix?: string;
4142
promptTemplateSuffix?: string;
4243
showSuggestFollowupQuestions?: boolean;
44+
showBingSearchOption: boolean;
4345
}
4446

4547
export const Settings = ({

0 commit comments

Comments
 (0)