Skip to content

0.27.0 Support GPT-4 Turbo with vision

Compare
Choose a tag to compare
@sudoskys sudoskys released this 11 Nov 17:03
· 396 commits to main since this release
9dbf980

⚠️ Broken Change

This version passes basic testing and syntax checking, but unexpected things may happen.
此版本通过基本测试和语法检查,但可能有意料之外的情况发生。

📦 Change

  • 大多数接口被重构,PluginOpenapi 版本升级到 20231111
  • 支持新的函数并行处理
  • 支持 GPT-4 Turbo with vision 图传
  • 适配性增强
  • 修复 Bug
  • 优化了传递速度
  • 定制函数规范
  • Standardized plugin system

📦 Change

  • Most interfaces have been refactored, and the PluginOpenapi version has been upgraded to 20231111
  • Support new function parallel processing(tools call)
  • Support GPT-4 Turbo with vision
  • Adaptability enhancement
  • Bug fixes
  • Optimized delivery speed
  • Custom function specification
  • Standardized plugin system

📦 All models can customize Schema

Example from code

SCHEMA_GROUP.add_model(
    models=[
        SingleModel(
            model_name="chatglm3",
            token_limit=4096,
            request=Openai,
            response=OpenaiResult,
            schema_type="openai",
            func_executor="function_call",
            exception=None
        ),
        SingleModel(
            model_name="chatglm3-16k",
            token_limit=16384,
            request=Openai,
            response=OpenaiResult,
            schema_type="openai",
            func_executor="function_call",
            exception=None
        ),
    ]
)

What's Changed

  • Reworked the settings system to better support the plugin system by @sudoskys in #332

Full Changelog: nolib0.26.3_3...lib0.27.0