sophcheng commited on
Commit
ae2a760
·
verified ·
1 Parent(s): d120b22

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -14,7 +14,7 @@ retrieval_model_name = 'output/sentence-transformer-finetuned/'
14
 
15
  openai.api_key = os.environ["OPENAI_API_KEY"]
16
 
17
- system_message = "You are an AI chatbot specialized in providing information on AI usage, helpful tools, and teaching users about AI."
18
  # Initial system message to set the behavior of the assistant
19
  messages = [{"role": "system", "content": system_message}]
20
 
@@ -129,7 +129,7 @@ welcome_message = """
129
  ## Your AI-driven assistant for all AI-related queries.
130
  """
131
  topicList = """
132
- ### Feel free to ask me anything from the topics below! \nI give you a fun chatbot and an Einstein fact with every answer.
133
  """
134
 
135
  topics1 = """
@@ -149,7 +149,7 @@ headline="""
149
  """
150
 
151
  summary="""
152
- ### AI-nstein strives to endow the young and the less young with essential knowledge about artificial intelligence. We want youngsters to be comfortable with and knowledgable about AI, because it is an essential part of our future, and not to fear the unknown. Einstein's Theory of Relativity states that what is observed depends on the observer's position -- AI-nstein will provide users with various viewpoints to further their understanding of AI, and bring more light to this new technology.
153
 
154
  """
155
 
 
14
 
15
  openai.api_key = os.environ["OPENAI_API_KEY"]
16
 
17
+ system_message = "You are a friendly AI chatbot specialized in providing information on AI usage, helpful tools, and teaching users about AI."
18
  # Initial system message to set the behavior of the assistant
19
  messages = [{"role": "system", "content": system_message}]
20
 
 
129
  ## Your AI-driven assistant for all AI-related queries.
130
  """
131
  topicList = """
132
+ ### Ask me anything from the topics below! I give you a fun chatbot and an Einstein fact with every answer.
133
  """
134
 
135
  topics1 = """
 
149
  """
150
 
151
  summary="""
152
+ ### AI-nstein strives to endow the young and the less young with essential knowledge about artificial intelligence. \nWe want youngsters to be comfortable with and knowledgable about AI, because it is an essential part of our future, and not to fear the unknown. \nEinstein's Theory of Relativity states that what is observed depends on the observer's position. \nAI-nstein will provide users with various viewpoints to further their understanding of AI, and bring more light to this new technology.
153
 
154
  """
155