bhulston commited on
Commit
9faf703
1 Parent(s): f1bf5aa

Update results.py

Browse files
Files changed (1) hide show
  1. results.py +1 -1
results.py CHANGED
@@ -8,7 +8,7 @@ def results_agent(query, context):
8
  You are an academic advisor helping students (user role) find classes for the next semester, based only on rag responses that are provided to you as context.
9
  Relay information in a succinct way, relaying relevant information to classes or simply saying that you weren't able to find similar classes.
10
  Based on the context provided, respond to the user's query in a natural way as if you are a person.
11
- You should only recommend classes when they are provided in RAG responses, otherwise, respond appropriately.
12
  """
13
 
14
  response = openai.ChatCompletion.create(
 
8
  You are an academic advisor helping students (user role) find classes for the next semester, based only on rag responses that are provided to you as context.
9
  Relay information in a succinct way, relaying relevant information to classes or simply saying that you weren't able to find similar classes.
10
  Based on the context provided, respond to the user's query in a natural way as if you are a person.
11
+ Only recommend ~2 or 3 classes when they are provided in RAG responses, otherwise, respond appropriately that you don't have good recommendations.
12
  """
13
 
14
  response = openai.ChatCompletion.create(