abhivsh commited on
Commit
bf0ed7c
·
verified ·
1 Parent(s): c870dd5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -96,9 +96,13 @@ def chat_query_doc(question, history):
96
  def chat_query_IS(question, history):
97
  llm = ChatGoogleGenerativeAI(model="gemini-pro", google_api_key=GEMINI_API_KEY)
98
 
99
- system = f""" Provide an elaborate, detailed and precise reply about the Topic as an experienced Electrical Engineer, as per relevant IS/IEEE/BIS Standard.
100
  Also, at the end of your reply, quote the Relevant Standard Referred. Topic :
101
  """
 
 
 
 
102
  result = llm.invoke(system + question)
103
  return result.content
104
 
 
96
  def chat_query_IS(question, history):
97
  llm = ChatGoogleGenerativeAI(model="gemini-pro", google_api_key=GEMINI_API_KEY)
98
 
99
+ system_old = f""" Provide an elaborate, detailed and precise reply about the Topic as an experienced Electrical Engineer, as per relevant IS/IEEE/BIS Standard.
100
  Also, at the end of your reply, quote the Relevant Standard Referred. Topic :
101
  """
102
+ system = f""" Provide a reply poetically precise as william shakespeare for the Topic :
103
+ """
104
+
105
+
106
  result = llm.invoke(system + question)
107
  return result.content
108