Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add chatgpt-4o-latest to model catalog #527

Merged
merged 1 commit into from
Aug 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/langchain_openai/lib/src/chat_models/types.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import 'package:meta/meta.dart';
/// Options to pass into the OpenAI Chat Model.
///
/// Available [ChatOpenAIOptions.model]s:
/// - `chatgpt-4o-latest`
/// - `gpt-4`
/// - `gpt-4-32k`
/// - `gpt-4-32k-0314`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,8 @@ class CreateChatCompletionRequest with _$CreateChatCompletionRequest {

/// Available completion models. Mind that the list may not be exhaustive nor up-to-date.
enum ChatCompletionModels {
@JsonValue('chatgpt-4o-latest')
chatgpt4oLatest,
@JsonValue('gpt-4')
gpt4,
@JsonValue('gpt-4-32k')
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/openai_dart/oas/openapi_curated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1806,6 +1806,7 @@ components:
Available completion models. Mind that the list may not be exhaustive nor up-to-date.
enum:
[
"chatgpt-4o-latest",
"gpt-4",
"gpt-4-32k",
"gpt-4-32k-0314",
Expand Down
1 change: 1 addition & 0 deletions packages/openai_dart/oas/openapi_official.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8173,6 +8173,7 @@ components:
"gpt-4o",
"gpt-4o-2024-05-13",
"gpt-4o-2024-08-06",
"chatgpt-4o-latest",
"gpt-4o-mini",
"gpt-4o-mini-2024-07-18",
"gpt-4-turbo",
Expand Down
Loading