Spaces:
Sleeping
Sleeping
Sora Avralt-Od
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -76,7 +76,7 @@ def generate_response(user_query, relevant_segment):
|
|
| 76 |
response = openai.ChatCompletion.create(
|
| 77 |
model="gpt-4o",
|
| 78 |
messages=messages,
|
| 79 |
-
max_tokens=
|
| 80 |
temperature=0.7,
|
| 81 |
top_p=1,
|
| 82 |
frequency_penalty=0.5,
|
|
@@ -117,9 +117,9 @@ welcome_message = """
|
|
| 117 |
|
| 118 |
topics = """
|
| 119 |
###
|
| 120 |
-
Collete wants to know what state you live in and what max tuition you would pay for college and will give you some colleges that are a good fit for you.
|
| 121 |
|
| 122 |
-
A sample input is: I live in Virginia and I am looking for a college that has a max
|
| 123 |
|
| 124 |
You can also ask Collete about these topics concerning college and college admissions:
|
| 125 |
- Applications
|
|
|
|
| 76 |
response = openai.ChatCompletion.create(
|
| 77 |
model="gpt-4o",
|
| 78 |
messages=messages,
|
| 79 |
+
max_tokens=600,
|
| 80 |
temperature=0.7,
|
| 81 |
top_p=1,
|
| 82 |
frequency_penalty=0.5,
|
|
|
|
| 117 |
|
| 118 |
topics = """
|
| 119 |
###
|
| 120 |
+
Collete wants to know what state you live in and what max tuition you would pay for college and will give you some colleges that are a good fit for you. She specializes in colleges in the DMV.
|
| 121 |
|
| 122 |
+
A sample input is: I live in Virginia and I am looking for a college that has a max tuition of 50k.
|
| 123 |
|
| 124 |
You can also ask Collete about these topics concerning college and college admissions:
|
| 125 |
- Applications
|