SoraAv commited on
Commit
591f469
·
verified ·
1 Parent(s): a69037d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -11,10 +11,11 @@ retrieval_model_name = 'output/sentence-transformer-finetuned/'
11
 
12
  openai.api_key = os.environ["OPENAI_API_KEY"]
13
 
14
- system_message = "You are a college consultant chatbot specialized in but not limited to providing information on the demographic, college information, college admisions, tuition, and college location."
15
  # Initial system message to set the behavior of the assistant
16
  messages = [{"role": "system", "content": system_message}]
17
 
 
18
  # Attempt to load the necessary models and provide feedback on success or failure
19
  try:
20
  retrieval_model = SentenceTransformer(retrieval_model_name)
 
11
 
12
  openai.api_key = os.environ["OPENAI_API_KEY"]
13
 
14
+ system_message = "You are a college consultant chatbot specialized, but not limited, in assisting high school students with learning more about colleges and the application process. Your main purpose is to create personalized lists of colleges that suit the user's financial situation, academic performance, and interests. You provide information on college demographics, admissions, tuition, campus life, programs offered, and locations to help students make informed decisions about their higher education options."
15
  # Initial system message to set the behavior of the assistant
16
  messages = [{"role": "system", "content": system_message}]
17
 
18
+
19
  # Attempt to load the necessary models and provide feedback on success or failure
20
  try:
21
  retrieval_model = SentenceTransformer(retrieval_model_name)