bstraehle commited on
Commit
14087df
1 Parent(s): e8e85b4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -1,12 +1,19 @@
1
  import gradio as gr
2
  import json, openai, os, time
3
 
 
4
  from openai import OpenAI
5
 
6
  _client = OpenAI(api_key=os.environ.get("OPENAI_API_KEY"))
7
 
8
  _assistant, _thread = None, None
9
 
 
 
 
 
 
 
10
  def create_assistant(client):
11
  assistant = client.beta.assistants.create(
12
  name="Math Tutor",
 
1
  import gradio as gr
2
  import json, openai, os, time
3
 
4
+ from agents import create_triage_agent, create_sales_agent, create_issues_repairs_agent
5
  from openai import OpenAI
6
 
7
  _client = OpenAI(api_key=os.environ.get("OPENAI_API_KEY"))
8
 
9
  _assistant, _thread = None, None
10
 
11
+ ###
12
+ triage_agent = create_triage_agent(client)
13
+ sales_agent = create_sales_agent(client)
14
+ issues_repairs_agent = create_issues_repairs_agent(client)
15
+ ###
16
+
17
  def create_assistant(client):
18
  assistant = client.beta.assistants.create(
19
  name="Math Tutor",