Skip to content

Support More OpenAI Models Like gpt-3.5-turbo-16k #57

Description

⚠️ Please check that this feature request hasn't been suggested before.

  • I searched previous Issues didn't find any similar feature requests.

🔖 Feature description

Current code limits the models to "gpt-3.5-turbo", "gpt-4" and "gpt-4-32k". In some cases like summary, it kind of defaults to "gpt-3.5-turbo".
But there are other OpenAI models, right now and in the future too.
Especially to read long web pages, I would like to use "gpt-3.5-turbo-16k". It gets rejected by the LoopGPT module code, although it would work with OpenAI just fine.
thanks

✔️ Solution

Refactor the code so that all models supported by OpenAI can be used, at least ChatModels as this is what you architecture expects.

You could add an early check that the model is supported using openai.Model.list()

Thanks

❓ Alternatives

No response

📝 Additional Context

No response

Acknowledgements

  • My issue title is concise, descriptive, and in title casing.
  • I have searched the existing issues to make sure this feature has not been requested yet.
  • I have provided enough information for the maintainers to understand and evaluate this request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions