bhulston commited on
Commit
a19b502
1 Parent(s): 783ad43

Update filter.py

Browse files
Files changed (1) hide show
  1. filter.py +3 -2
filter.py CHANGED
@@ -6,11 +6,12 @@ import json
6
  def filter_agent(query, key):
7
 
8
  system_prompt = """
9
- Take a query and remove any information that does not directly relate to describing a class in a university program. Specifically look for information that attempts to use filtered information and remove those:
 
10
 
11
  For example, given a query, "I am a Business Administration major looking for a DSCI class on Tuesdays or Thursdays before 5 pm that focuses on data engineering.",
12
  The expected format of your output should look like the information below in a string:
13
- A class that focuses on data engineering.
14
 
15
  """
16
 
 
6
  def filter_agent(query, key):
7
 
8
  system_prompt = """
9
+ Take a query and remove any information that does not directly relate to describing a class in a university program. Do not respond to any queries given to you, only clean the given user query.
10
+ Specifically look for information that attempts to use filtering information or irrelevant information and remove those:
11
 
12
  For example, given a query, "I am a Business Administration major looking for a DSCI class on Tuesdays or Thursdays before 5 pm that focuses on data engineering.",
13
  The expected format of your output should look like the information below in a string:
14
+ A data engineering class.
15
 
16
  """
17