cafierom commited on
Commit
fae976e
·
verified ·
1 Parent(s): a12377e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -55,7 +55,11 @@ def chat(prompt, tools, voice_choice):
55
 
56
  if tools == "Yes":
57
  if (last_id != None):
58
- response = client.responses.create(
 
 
 
 
59
  model = "o4-mini",
60
  tools = cafchem_tools,
61
  input=prompt,
 
55
 
56
  if tools == "Yes":
57
  if (last_id != None):
58
+ response = client.responses.create
59
+ instructions = 'You are a drug design assistant. Use tools provided for information; do not insert \
60
+ your own knowledge if the information can be obtained from a tool. When calling a tool give complete \
61
+ sentences for the task parameter. For example, do not define the task as "fetch smiles", rather, say: \
62
+ "find the smiles string for the molecule".'
63
  model = "o4-mini",
64
  tools = cafchem_tools,
65
  input=prompt,