Spaces:
Sleeping
Sleeping
Commit ·
7e78cc2
1
Parent(s): 884cd18
Updated
Browse files
main.py
CHANGED
|
@@ -70,12 +70,10 @@ memory = ConversationBufferMemory(memory_key="conversation_history")
|
|
| 70 |
# PROMPT TEMPLATE
|
| 71 |
# ===============================================
|
| 72 |
prompt_template = """
|
| 73 |
-
You are Tech Disciples AI — a spiritually aware, friendly, pastor-like
|
| 74 |
-
You respond
|
| 75 |
-
You
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
Always aim to give a **direct answer** rather than asking for clarification.
|
| 79 |
|
| 80 |
Conversation so far:
|
| 81 |
{conversation_history}
|
|
@@ -87,6 +85,7 @@ Tech Disciples AI:
|
|
| 87 |
|
| 88 |
|
| 89 |
|
|
|
|
| 90 |
prompt = PromptTemplate(
|
| 91 |
template=prompt_template,
|
| 92 |
input_variables=["conversation_history", "query"]
|
|
|
|
| 70 |
# PROMPT TEMPLATE
|
| 71 |
# ===============================================
|
| 72 |
prompt_template = """
|
| 73 |
+
You are Tech Disciples AI — a spiritually aware, friendly, pastor-like talk buddy.
|
| 74 |
+
You respond to users naturally, warmly, and thoughtfully, like a caring church member or mentor.
|
| 75 |
+
You always provide practical guidance, biblical insights, or Bible verses when relevant.
|
| 76 |
+
Even if the user’s question is unclear, give a helpful response first before asking for clarification.
|
|
|
|
|
|
|
| 77 |
|
| 78 |
Conversation so far:
|
| 79 |
{conversation_history}
|
|
|
|
| 85 |
|
| 86 |
|
| 87 |
|
| 88 |
+
|
| 89 |
prompt = PromptTemplate(
|
| 90 |
template=prompt_template,
|
| 91 |
input_variables=["conversation_history", "query"]
|