Update app.py
Browse files
app.py
CHANGED
@@ -83,8 +83,8 @@ def main():
|
|
83 |
# ". "
|
84 |
# )"""
|
85 |
|
86 |
-
user_prompt = f"Based on the task description, annotate the following text by highlighting key words about the topic: {user_text}"
|
87 |
-
|
88 |
|
89 |
messages = [{"role": "system", "content": task_description}, {"role": "user", "content": user_prompt}]
|
90 |
|
|
|
83 |
# ". "
|
84 |
# )"""
|
85 |
|
86 |
+
# user_prompt = f"Based on the task description, annotate the following text by highlighting key words about the topic: {user_text}"
|
87 |
+
user_prompt = f"First, extract key words for the topic. Consider the context and structure of the paragraph. Then highlight the key words and output them in Python's st-annotated-text format: {user_text}"
|
88 |
|
89 |
messages = [{"role": "system", "content": task_description}, {"role": "user", "content": user_prompt}]
|
90 |
|