Update app.py
Browse files
app.py
CHANGED
@@ -79,7 +79,7 @@ llm = ChatOpenAI(
|
|
79 |
)
|
80 |
|
81 |
# Create prompt template
|
82 |
-
template = """
|
83 |
You are an expert assistant specializing in the Mawared HR System. Your task is to answer the user's question strictly based on the provided context. If the context lacks sufficient information, ask focused clarifying questions to gather additional details.
|
84 |
|
85 |
To improve your responses, follow these steps:
|
@@ -102,6 +102,7 @@ Context:
|
|
102 |
Question:
|
103 |
{question}
|
104 |
|
|
|
105 |
Answer
|
106 |
"""
|
107 |
|
|
|
79 |
)
|
80 |
|
81 |
# Create prompt template
|
82 |
+
template = f"""
|
83 |
You are an expert assistant specializing in the Mawared HR System. Your task is to answer the user's question strictly based on the provided context. If the context lacks sufficient information, ask focused clarifying questions to gather additional details.
|
84 |
|
85 |
To improve your responses, follow these steps:
|
|
|
102 |
Question:
|
103 |
{question}
|
104 |
|
105 |
+
|
106 |
Answer
|
107 |
"""
|
108 |
|