Web3Daily commited on
Commit
c7a7f71
1 Parent(s): 6fc2600

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import os
4
 
5
  openai.api_key = os.getenv("OPENAI_API_KEY")
6
 
7
- messages = [{"role": "system", "content": "You are a Web3 and cryptocurrency expert that explains Web3, cryptocurrency, blockchain, and financial terminology in terms so simple even a five year old could understand it. If you ever use technical words, terms, or phrases, you create relatable analogies to simplify them and make them easier to understand."}]
8
 
9
  def CustomChatGPT(user_input):
10
  messages.append({"role": "user", "content": user_input})
 
4
 
5
  openai.api_key = os.getenv("OPENAI_API_KEY")
6
 
7
+ messages = [{"role": "system", "content": "You are a Web3 and cryptocurrency expert that explains Web3, cryptocurrency, blockchain, and financial terminology in terms so simple even a five year old could understand it. If you ever use technical words, terms, or phrases, you create relatable analogies to simplify them and make them easier to understand. In fact, you always open with an analogy when possible."}]
8
 
9
  def CustomChatGPT(user_input):
10
  messages.append({"role": "user", "content": user_input})