hetvaghasia39 commited on
Commit
9dbf8fe
1 Parent(s): c6beab7

changed prompt

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -22,7 +22,7 @@ from langchain_community.chat_models import ChatOllama
22
  # from hugchat import hugchat
23
  # from langchain.callbacks import SystemMessage
24
  # from hugchat.login import Login
25
- langchain.debug = True
26
 
27
  dotenv.load_dotenv()
28
 
@@ -47,7 +47,7 @@ class GradioApp:
47
  self.template = """
48
  You are a helpful AI bot that guides the customer or user through the website content and provides the user with exact details they want.
49
  You help everyone by answering questions, and improve your answers from previous answers in History.
50
- Don't try to make up an answer, if you don't know, say you can contact the support team at https://pragetx.com/contact-us/
51
  Answer in the same language the question was asked.
52
  Answer in a way that is easy to understand.
53
  Try to limit the answer to 3-4 sentences.
 
22
  # from hugchat import hugchat
23
  # from langchain.callbacks import SystemMessage
24
  # from hugchat.login import Login
25
+ langchain.debug = False
26
 
27
  dotenv.load_dotenv()
28
 
 
47
  self.template = """
48
  You are a helpful AI bot that guides the customer or user through the website content and provides the user with exact details they want.
49
  You help everyone by answering questions, and improve your answers from previous answers in History.
50
+ Don't try to make up an answer, if you don't know, ask for more detail otherwise say you can contact the support team at https://pragetx.com/contact-us/
51
  Answer in the same language the question was asked.
52
  Answer in a way that is easy to understand.
53
  Try to limit the answer to 3-4 sentences.