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

Commits on Nov 7, 2023

  1. 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.
    Pwuts committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    fffc443 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1b4e921 View commit details
    Browse the repository at this point in the history
  3. fix: Fix profile generator in-prompt example for functions compatibil…

    …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 committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    cd55da5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fa826b6 View commit details
    Browse the repository at this point in the history