Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
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)
|