CannaTech commited on
Commit
c7fe865
·
1 Parent(s): 6d12f87

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ openai.api_key = os.getenv("openai_api_key")
7
  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"}]
8
 
9
  def CustomChatGPT(category, user_input):
10
- user_input = "In the context of {category} specifically and using your expert knowledge of cannabis regulations in New Mexico and BioTrack" + user_input
11
  messages.append({"role": "user", "content": user_input})
12
  response = openai.ChatCompletion.create(
13
  model="gpt-3.5-turbo",
 
7
  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"}]
8
 
9
  def CustomChatGPT(category, user_input):
10
+ user_input = "In the context of {category} specifically and using your expertise and knowledge of cannabis regulations in New Mexico and BioTrack" + user_input
11
  messages.append({"role": "user", "content": user_input})
12
  response = openai.ChatCompletion.create(
13
  model="gpt-3.5-turbo",