Skip to content

Commit d5429e9

Browse files
changed llm model to gemini pro
1 parent 992628a commit d5429e9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

frontend/src/components/Dropdown.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const LlmDropdown: React.FC<DropdownProps> = ({ onSelect, isDisabled }) => {
66
const handleChange = (selectedOption: OptionType | null | void) => {
77
onSelect(selectedOption);
88
};
9-
const allOptions = useMemo(() => ['Diffbot', 'OpenAI GPT 4'], []);
9+
const allOptions = useMemo(() => ['Diffbot', 'Gemini Pro'], []);
1010
return (
1111
<>
1212
<div className='w-[150px]'>
@@ -15,9 +15,9 @@ const LlmDropdown: React.FC<DropdownProps> = ({ onSelect, isDisabled }) => {
1515
aria-label='A selection dropdown'
1616
selectProps={{
1717
onChange: handleChange,
18-
options: allOptions.map((option) => ({ label: option === "OpenAI GPT 4" ? "LLM" : option, value: option })),
18+
options: allOptions.map((option) => ({ label: option === "Gemini Pro" ? "LLM" : option, value: option })),
1919
placeholder: 'Select LLM Model',
20-
defaultValue: { label: 'LLM', value: 'OpenAI GPT 4' },
20+
defaultValue: { label: 'LLM', value: 'Gemini Pro' },
2121
menuPlacement: 'auto',
2222
isDisabled,
2323
}}

frontend/src/context/UsersFiles.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ interface FileContextProviderProps {
1818
const FileContextProvider: React.FC<FileContextProviderProps> = ({ children }) => {
1919
const [files, setFiles] = useState<File[] | []>([]);
2020
const [filesData, setFilesData] = useState<CustomFile[] | []>([]);
21-
const [model, setModel] = useState<string>('OpenAI GPT 4');
21+
const [model, setModel] = useState<string>('Gemini Pro');
2222
const [graphType, setGraphType] = useState<string>('Knowledge Graph Entities');
2323
const value: FileContextType = {
2424
files,

0 commit comments

Comments
 (0)