CannaTech commited on
Commit
6c45c8d
·
1 Parent(s): c63295f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,10 +3,10 @@ import gradio as gr
3
 
4
  openai.api_key = "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"
5
 
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",
 
3
 
4
  openai.api_key = "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"
5
 
6
+ messages = [{"role": "system", "content": "You are an expert in Technical Support and Customer Service that specializes in New Mexico Cannabis Regulatory Compliance and training people how to use software called BioTrack"}]
7
 
8
  def CustomChatGPT(category, user_input):
9
+ user_input = "In the context of {category} specifically and using your expert knowledge of cannabis regulations in New Mexico and BioTrack" + user_input
10
  messages.append({"role": "user", "content": user_input})
11
  response = openai.ChatCompletion.create(
12
  model="gpt-3.5-turbo",