Skip to content

Commit

Permalink
timing
Browse files Browse the repository at this point in the history
  • Loading branch information
scotttestbot[bot] committed Aug 26, 2024
1 parent 4eb8d19 commit bbf95b5
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions scripts/timing.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@
async def speed_compare():
client = Spice()

messages = [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "list 100 random words"},
]
messages = (
client.new_messages()
.add_system_message("You are a helpful assistant.")
.add_user_message("list 100 random words")
)

models = [GPT_4o_2024_08_06, SONNET_3_5]
runs = 3
Expand Down

0 comments on commit bbf95b5

Please sign in to comment.