Skip to content

Commit

Permalink
new structure on data
Browse files Browse the repository at this point in the history
  • Loading branch information
zibiax committed May 3, 2024
1 parent 9074751 commit fab1684
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions test_draftgpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,17 +89,8 @@ def draft_gpt(user_input, openai_api_key=os.environ["OPENAI_API_KEY"], gpt_model
data = {

"model": gpt_model,
"message":[
{
"role": "user",
"content": user_input,
"attachments": [
{
"tools": [{"type": "code_interpreter"}]
}
]
}
]
"role": "user",
"content": user_input,
}


Expand Down

0 comments on commit fab1684

Please sign in to comment.