feat: Add support for new models and features from OpenAI's November 6 update #6147
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
OpenAIModelName
enum to include new GPT-3.5 Turbo and GPT-4 modelsGPT3_v3
andGPT4_v3
models in theOPEN_AI_CHAT_MODELS
dictionaryOpenAIProvider
class to handle the new models and featuresschema.py
module to includeAssistantToolCall
andAssistantToolCallDict
modelsAssistantChatMessage
andAssistantChatMessageDict
models to include thetool_calls
fieldAdded support for the new models and features introduced with OpenAI's latest update. This commit allows the system to utilize the
GPT3_v3
andGPT4_v3
models and includes all necessary modifications to the codebase to handle the new models and associated features.Background
Changes 🏗️
PR Quality Scorecard ✨
+2 pts
+5 pts
+5 pts
+5 pts
-4 pts
+4 pts
+5 pts
-5 pts
agbenchmark
to verify that these changes do not regress performance?+10 pts