Skip to content

Commit

Permalink
Update default model to gpt-4o-mini
Browse files Browse the repository at this point in the history
and give gpt-4o as the common alternative.
  • Loading branch information
jepler committed Oct 22, 2024
1 parent 64c56e4 commit 0648224
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/chap/backends/openai_chatgpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ def from_model(cls, model: str) -> "EncodingMeta":
class ChatGPT:
@dataclass
class Parameters:
model: str = "gpt-4-turbo"
"""The model to use. The most common alternative value is 'gpt-3.5-turbo'."""
model: str = "gpt-4o-mini"
"""The model to use. The most common alternative value is 'gpt-4o'."""

max_request_tokens: int = 1024
"""The approximate greatest number of tokens to send in a request. When the session is long, the system prompt and 1 or more of the most recent interaction steps are sent."""
Expand Down

0 comments on commit 0648224

Please sign in to comment.