lfoppiano commited on
Commit
3865d62
1 Parent(s): b8dee5c

adding gpt4, gpt4-turbo

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. streamlit_app.py +7 -4
README.md CHANGED
@@ -41,7 +41,7 @@ The conversation is kept in memory by a buffered sliding window memory (top 4 mo
41
  ## Getting started
42
 
43
  - Select the model+embedding combination you want to use
44
- - If using OpenAI, enter your API Key ([Open AI](https://platform.openai.com/account/api-keys)~~ or [Huggingface](https://huggingface.co/docs/hub/security-tokens))~~.
45
  - Upload a scientific article as a PDF document. You will see a spinner or loading indicator while the processing is in progress.
46
  - Once the spinner disappears, you can proceed to ask your questions
47
 
 
41
  ## Getting started
42
 
43
  - Select the model+embedding combination you want to use
44
+ - If using gpt3.5-turbo, gpt4 or gpt4-turbo, enter your API Key ([Open AI](https://platform.openai.com/account/api-keys)).
45
  - Upload a scientific article as a PDF document. You will see a spinner or loading indicator while the processing is in progress.
46
  - Once the spinner disappears, you can proceed to ask your questions
47
 
streamlit_app.py CHANGED
@@ -208,10 +208,13 @@ def play_old_messages():
208
  with st.sidebar:
209
  st.session_state['model'] = model = st.selectbox(
210
  "Model:",
211
- options={
212
- "chatgpt-3.5-turbo": "ChatGPT 3.5 Turbo + Ada-002-text (embeddings)",
213
- "mistral-7b-instruct-v0.1": "Mistral-7B-Instruct-V0.1 + Sentence BERT (embeddings) :free:",
214
- "zephyr-7b-beta": "Zephyr-7B-beta + Sentence BERT (embeddings) :free:"},
 
 
 
215
  index=2,
216
  placeholder="Select model",
217
  help="Select the LLM model:",
 
208
  with st.sidebar:
209
  st.session_state['model'] = model = st.selectbox(
210
  "Model:",
211
+ options=[
212
+ "chatgpt-3.5-turbo",
213
+ "mistral-7b-instruct-v0.1",
214
+ "zephyr-7b-beta",
215
+ "gpt-4",
216
+ "gpt-4-1106-preview"
217
+ ],
218
  index=2,
219
  placeholder="Select model",
220
  help="Select the LLM model:",