Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
jxnl committed Apr 17, 2024
1 parent ff18760 commit b716af8
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions tests/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from anthropic import AsyncAnthropic
import instructor
from enum import Enum
import os


class Models(str, Enum):
Expand All @@ -14,25 +15,25 @@ class Models(str, Enum):

clients = (
instructor.from_openai(
AsyncOpenAI(),
AsyncOpenAI(api_key=os.environ.get("OPENAI_API_KEY")),
model=Models.GPT35TURBO,
),
instructor.from_openai(
AsyncOpenAI(),
AsyncOpenAI(api_key=os.environ.get("OPENAI_API_KEY")),
model=Models.GPT4TURBO,
),
instructor.from_anthropic(
AsyncAnthropic(),
AsyncAnthropic(api_key=os.environ.get("ANTHROPIC_API_KEY")),
model=Models.CLAUDE3_OPUS,
max_tokens=4000,
),
instructor.from_anthropic(
AsyncAnthropic(),
AsyncAnthropic(api_key=os.environ.get("ANTHROPIC_API_KEY")),
model=Models.CLAUDE3_SONNET,
max_tokens=4000,
),
instructor.from_anthropic(
AsyncAnthropic(),
AsyncAnthropic(api_key=os.environ.get("ANTHROPIC_API_KEY")),
model=Models.CLAUDE3_HAIKU,
max_tokens=4000,
),
Expand Down

0 comments on commit b716af8

Please sign in to comment.