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 support for new models and features from OpenAI's November 6 update #6147

Merged
merged 4 commits into from
Nov 7, 2023

Conversation

Pwuts
Copy link
Member

@Pwuts Pwuts commented Nov 7, 2023

  • Updated the OpenAIModelName enum to include new GPT-3.5 Turbo and GPT-4 models
  • Added support for the GPT3_v3 and GPT4_v3 models in the OPEN_AI_CHAT_MODELS dictionary
  • Modified the OpenAIProvider class to handle the new models and features
  • Updated the schema definitions in the schema.py module to include AssistantToolCall and AssistantToolCallDict models
  • Updated the AssistantChatMessage and AssistantChatMessageDict models to include the tool_calls field
  • Refactored the code in various modules to handle the new tool calls and function arguments

Added support for the new models and features introduced with OpenAI's latest update. This commit allows the system to utilize the GPT3_v3 and GPT4_v3 models and includes all necessary modifications to the codebase to handle the new models and associated features.

Background

Changes 🏗️

PR Quality Scorecard ✨

  • Have you used the PR description template?   +2 pts
  • Is your pull request atomic, focusing on a single change?   +5 pts
  • Have you linked the GitHub issue(s) that this PR addresses?   +5 pts
  • Have you documented your changes clearly and comprehensively?   +5 pts
  • Have you changed or added a feature?   -4 pts
    • Have you added/updated corresponding documentation?   +4 pts
    • Have you added/updated corresponding integration tests?   +5 pts
  • Have you changed the behavior of AutoGPT?   -5 pts
    • Have you also run agbenchmark to verify that these changes do not regress performance?   +10 pts

…6 update

- Updated the `OpenAIModelName` enum to include new GPT-3.5 Turbo and GPT-4 models
- Added support for the `GPT3_v3` and `GPT4_v3` models in the `OPEN_AI_CHAT_MODELS` dictionary
- Modified the `OpenAIProvider` class to handle the new models and features
- Updated the schema definitions in the `schema.py` module to include `AssistantToolCall` and `AssistantToolCallDict` models
- Updated the `AssistantChatMessage` and `AssistantChatMessageDict` models to include the `tool_calls` field
- Refactored the code in various modules to handle the new tool calls and function arguments

Added support for the new models and features introduced with OpenAI's latest update. This commit allows the system to utilize the `GPT3_v3` and `GPT4_v3` models and includes all necessary modifications to the codebase to handle the new models and associated features.
@github-actions github-actions bot added the size/l label Nov 7, 2023
Copy link

netlify bot commented Nov 7, 2023

Deploy Preview for auto-gpt-docs ready!

Name Link
🔨 Latest commit fa826b6
🔍 Latest deploy log https://app.netlify.com/sites/auto-gpt-docs/deploys/654ac93e5a72b20008fc507e
😎 Deploy Preview https://deploy-preview-6147--auto-gpt-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Pwuts added 3 commits November 7, 2023 15:02
…ity mode

- Updated the in-prompt example in the profile generator to be compatible with functions compatibility mode.
- Modified the example call section to correctly reflect the structure of function calls.
@Pwuts Pwuts merged commit 345ff6f into master Nov 7, 2023
11 of 16 checks passed
@Pwuts Pwuts deleted the openai-1106-update branch November 7, 2023 23:34
risingsunomi pushed a commit to shamantechnology/TheAgency that referenced this pull request Nov 10, 2023
…6 update (Significant-Gravitas#6147)

* feat: Add support for new models and features from OpenAI's November 6 update
  - Updated the `OpenAIModelName` enum to include new GPT-3.5 Turbo and GPT-4 models
  - Added support for the `GPT3_v3` and `GPT4_v3` models in the `OPEN_AI_CHAT_MODELS` dictionary
  - Modified the `OpenAIProvider` class to handle the new models and features
  - Updated the schema definitions in the `schema.py` module to include `AssistantToolCall` and `AssistantToolCallDict` 
models
  - Updated the `AssistantChatMessage` and `AssistantChatMessageDict` models to include the `tool_calls` field
  - Refactored the code in various modules to handle the new tool calls and function arguments

  Added support for the new models and features introduced with OpenAI's latest update. This commit allows the system to utilize the `GPT3_v3` and `GPT4_v3` models and includes all necessary modifications to the codebase to handle the new models and associated features.

* Fix validation error in LLM response handling

* fix: Fix profile generator in-prompt example for functions compatibility mode
  - Updated the in-prompt example in the profile generator to be compatible with functions compatibility mode.
  - Modified the example call section to correctly reflect the structure of function calls.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant