Skip to content

Support azure openai API #135

Open
Open

Description

@wangnan229

Is your feature request related to a problem?

azure 的openai的模型,跟原生的openai的模型参数基本一致的,我尝试修改了下 src/utils/model.ts,发现不好使,可能还是少了api_type和api_version两个参数
图片,

请大神看看能否修改代码以支持。

Describe the solution you'd like

通过修改源码,支持azure openai

Additional context

No response

Activity

  1. changed the title [-]能支持azure openai gpt35的接口吗,node这块不太熟,看不太懂代码[/-] [+]support azure openai API[/+] on Jul 12, 2023
  2. wangnan229 commented on Jul 12, 2023

    @wangnan229
    Author

    @tianzhou 大佬,不小心把key贴上了,能删除图片吗

  3. tianzhou commented on Jul 12, 2023

    @tianzhou
    Member

    Deleted

  4. wangnan229 commented on Jul 12, 2023

    @wangnan229
    Author

    Deleted

    thanks

  5. EvanSong77 commented on Nov 7, 2023

    @EvanSong77

    Deleted

    请问目前能支持支持 azure openai API吗

  6. EvanSong77 commented on Nov 7, 2023

    @EvanSong77

    Is your feature request related to a problem?

    azure 的openai的模型,跟原生的openai的模型参数基本一致的,我尝试修改了下 src/utils/model.ts,发现不好使,可能还是少了api_type和api_version两个参数 图片,

    请大神看看能否修改代码以支持。

    Describe the solution you'd like

    通过修改源码,支持azure openai

    Additional context

    No response

    大佬 你解决了吗——支持 azure openai API

  7. changed the title [-]support azure openai API[/-] [+]Support azure openai API[/+] on Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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