Spaces:
Sleeping
Sleeping
adding gpt4, gpt4-turbo
Browse files- README.md +1 -1
- 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
|
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"
|
213 |
-
"mistral-7b-instruct-v0.1"
|
214 |
-
"zephyr-7b-beta"
|
|
|
|
|
|
|
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:",
|