Ivan Roman commited on
Commit
a2febf2
·
1 Parent(s): a1496f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ openai.api_key = "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"
6
  messages = [{"role": "system", "content": "You are a Technical Support Customer Service expert that specializes in BioTrack and New Mexico Cannabis Regulatory Compliance"}]
7
 
8
  def CustomChatGPT(category, user_input):
9
- user_input = f"In the context of BioTrack and cannabis regulations in New Mexico, and specifically about {category}, " + user_input
10
  messages.append({"role": "user", "content": user_input})
11
  response = openai.ChatCompletion.create(
12
  model="gpt-3.5-turbo",
 
6
  messages = [{"role": "system", "content": "You are a Technical Support Customer Service expert that specializes in BioTrack and New Mexico Cannabis Regulatory Compliance"}]
7
 
8
  def CustomChatGPT(category, user_input):
9
+ user_input = "In the context of BioTrack and cannabis regulations in New Mexico, and specifically about {category}, " + user_input
10
  messages.append({"role": "user", "content": user_input})
11
  response = openai.ChatCompletion.create(
12
  model="gpt-3.5-turbo",