From 9cb03b03737834d4b4f80b895e604d309193c638 Mon Sep 17 00:00:00 2001 From: florian-kalisch Date: Sat, 17 Aug 2024 19:15:24 +0200 Subject: [PATCH] Update index.html added new models and new ordering related to OpenAI playground --- index.html | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index c33946a..a5027e0 100644 --- a/index.html +++ b/index.html @@ -250,7 +250,7 @@ const [selectedNodeId, setSelectedNodeId] = useState(null); const [selectedEdgeId, setSelectedEdgeId] = useState(null); const [apiKey, setApiKey] = useState(''); - const [model, setModel] = useState('gpt-3.5-turbo'); + const [model, setModel] = useState('gpt-4o-mini'); const [mode, setMode] = useState('answer'); const [choices, setChoices] = useState(1); const [isModalOpen, setIsModalOpen] = useState(false); @@ -811,11 +811,14 @@ React.createElement('option', { value: 3 }, '3 Answers') ), React.createElement('select', { value: model, onChange: (e) => setModel(e.target.value) }, - React.createElement('option', { value: 'gpt-3.5-turbo' }, 'GPT-3.5 Turbo'), - React.createElement('option', { value: 'gpt-3.5-turbo-16k' }, 'GPT-3.5 Turbo 16k'), - React.createElement('option', { value: 'gpt-4' }, 'GPT-4'), + React.createElement('option', { value: 'gpt-4o-mini' }, 'gpt-4o-mini'), React.createElement('option', { value: 'gpt-4o' }, 'gpt-4o'), - React.createElement('option', { value: 'gpt-4-turbo' }, 'GPT-4 Turbo') + React.createElement('option', { value: 'gpt-4-turbo' }, 'gpt-4-turbo'), + React.createElement('option', { value: 'gpt-4' }, 'gpt-4'), + React.createElement('option', { value: 'gpt-3.5-turbo' }, 'gpt-3.5-turbo'), + React.createElement('option', { value: 'gpt-4o-2024-08-06' }, 'gpt-4o-2024-08-06'), + React.createElement('option', { value: 'gpt-3.5-turbo-16k' }, 'gpt-3.5-turbo-16k'), + React.createElement('option', { value: 'chatgpt-4o-latest' }, 'chatgpt-4o-latest') ), React.createElement('select', { value: edgeType, onChange: (e) => setEdgeType(e.target.value) }, React.createElement('option', { value: "default" }, 'default'),