alexkueck commited on
Commit
0d5659a
1 Parent(s): f42f391

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +2 -2
utils.py CHANGED
@@ -540,7 +540,7 @@ def wait_on_run(run, thread, client):
540
 
541
  ########################################
542
  #Assistant für Websuche anlgen
543
- def openai_assistant_suche(client, prpmpt):
544
  assistant = client.beta.assistants.create(
545
  instructions=template,
546
  model="gpt-4-1106-preview",
@@ -552,7 +552,7 @@ def openai_assistant_suche(client, prpmpt):
552
  "parameters": {
553
  "type": "object",
554
  "properties": {
555
- "query": {"type": "string", "description": prompt},
556
  },
557
  "required": ["query"]
558
  }
 
540
 
541
  ########################################
542
  #Assistant für Websuche anlgen
543
+ def openai_assistant_suche(client):
544
  assistant = client.beta.assistants.create(
545
  instructions=template,
546
  model="gpt-4-1106-preview",
 
552
  "parameters": {
553
  "type": "object",
554
  "properties": {
555
+ "query": {"type": "string", "description": ""},
556
  },
557
  "required": ["query"]
558
  }