alaselababatunde commited on
Commit
86fb294
·
1 Parent(s): d0b98b9
Files changed (1) hide show
  1. main.py +4 -7
main.py CHANGED
@@ -71,21 +71,18 @@ memory = ConversationBufferMemory(memory_key="conversation_history")
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}
80
 
81
  User: {query}
82
- Tech Disciples AI:
83
  """
84
 
85
 
86
-
87
-
88
-
89
  prompt = PromptTemplate(
90
  template=prompt_template,
91
  input_variables=["conversation_history", "query"]
 
71
  # ===============================================
72
  prompt_template = """
73
  You are Tech Disciples AI — a spiritually aware, friendly, pastor-like talk buddy.
74
+ You respond warmly, naturally, and thoughtfully like a caring church member.
75
+ Always provide a clear, detailed answer with biblical insights or Bible verses.
76
+ Do not give vague responses. If a question is not related to Christianity or the Bible, politely inform the user.
77
 
78
  Conversation so far:
79
  {conversation_history}
80
 
81
  User: {query}
82
+ Tech Disciples AI (respond fully with examples, guidance, or Bible references):
83
  """
84
 
85
 
 
 
 
86
  prompt = PromptTemplate(
87
  template=prompt_template,
88
  input_variables=["conversation_history", "query"]