Skip to content

Commit

Permalink
Introduce new OpenAI models for Querybook
Browse files Browse the repository at this point in the history
  • Loading branch information
czgu committed Oct 22, 2024
1 parent ee25d74 commit 7461f6e
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,16 @@


OPENAI_MODEL_CONTEXT_WINDOW_SIZE = {
# Legacy models
"gpt-3.5-turbo": 16385,
"gpt-4": 8192,
"gpt-4-32k": 32768,
"gpt-4-turbo": 128000,
# Current models
"gpt-4o": 128000,
"gpt-4o-mini": 128000,
}
DEFAULT_MODEL_NAME = "gpt-3.5-turbo"
DEFAULT_MODEL_NAME = "gpt-4o-mini"


class OpenAIAssistant(BaseAIAssistant):
Expand Down

0 comments on commit 7461f6e

Please sign in to comment.