Update results.py
Browse files- results.py +4 -2
results.py
CHANGED
@@ -6,11 +6,13 @@ def results_agent(query, key):
|
|
6 |
|
7 |
system_prompt = """
|
8 |
You are an academic advisor helping students find classes for the next semester.
|
9 |
-
Relay information in a succinct way that fully answers their questions.
|
|
|
|
|
10 |
"""
|
11 |
|
12 |
response = openai.ChatCompletion.create(
|
13 |
-
model="gpt-
|
14 |
messages=[
|
15 |
{"role": "system", "content": system_prompt},
|
16 |
{"role": "user", "content": query}
|
|
|
6 |
|
7 |
system_prompt = """
|
8 |
You are an academic advisor helping students find classes for the next semester.
|
9 |
+
Relay information in a succinct way that fully answers their questions.
|
10 |
+
Use the scores (lower is better) from the context to help guide a student in finding the best class based on their query (a higher score is not always better).
|
11 |
+
Please add new lines, bolding/italicizing, formatting like "##" for headers to make it a pretty output as well.
|
12 |
"""
|
13 |
|
14 |
response = openai.ChatCompletion.create(
|
15 |
+
model="gpt-3.5-turbo",
|
16 |
messages=[
|
17 |
{"role": "system", "content": system_prompt},
|
18 |
{"role": "user", "content": query}
|