Code Monkey home page Code Monkey logo

Comments (10)

Issues-translate-bot avatar Issues-translate-bot commented on August 28, 2024

Bot detected the issue body's language is not English, translate it automatically.


Title: [Bug] Azure api configuration does not take effect

from chatgpt-next-web.

EdiWang avatar EdiWang commented on August 28, 2024

Have you tried specifying the deployment name with a fixed value instead of {deploy-name} in your AZURE_URL?

e.g.

https://****.openai.azure.com/openai/deployments/gpt-4o

Then for CUSTOM_MODELS, set value to -all,+gpt-4o

from chatgpt-next-web.

wilber-F avatar wilber-F commented on August 28, 2024

使用固定值的AZURE_URL是可以正常使用的,只有使用{deploy-name} 的方式会报错

from chatgpt-next-web.

Issues-translate-bot avatar Issues-translate-bot commented on August 28, 2024

Bot detected the issue body's language is not English, translate it automatically.


Using a fixed value of AZURE_URL can be used normally. Only using {deploy-name} will report an error.

from chatgpt-next-web.

Mmahaha avatar Mmahaha commented on August 28, 2024

目前支持AZURE_OPENAI_MODEL_MAPPER这个参数吗,我看只是有人提了个PR

from chatgpt-next-web.

Issues-translate-bot avatar Issues-translate-bot commented on August 28, 2024

Bot detected the issue body's language is not English, translate it automatically.


Is the parameter AZURE_OPENAI_MODEL_MAPPER currently supported? I think someone just mentioned a PR.

from chatgpt-next-web.

lloydzhou avatar lloydzhou commented on August 28, 2024

可以参考这个pr #4930 的实现:

  1. 从数据结构上支持一个模型由多个服务商提供
  2. 没有添加新配置,而是使用display_name当作deployment_name使用(这个设定应该算合理)

from chatgpt-next-web.

Issues-translate-bot avatar Issues-translate-bot commented on August 28, 2024

Bot detected the issue body's language is not English, translate it automatically.


You can refer to the implementation of this PR #4930:

  1. Support one model provided by multiple service providers from the data structure
  2. No new configuration is added, but display_name is used as deployment_name (this setting should be reasonable)

from chatgpt-next-web.

lloydzhou avatar lloydzhou commented on August 28, 2024

@wilber-F

前面提到的pr已经合并,不知道你这边的问题是否已经得到解决?
image

from chatgpt-next-web.

Issues-translate-bot avatar Issues-translate-bot commented on August 28, 2024

Bot detected the issue body's language is not English, translate it automatically.


@wilber-F

The PR mentioned earlier has been merged. I wonder if the problem on your side has been resolved?
image

from chatgpt-next-web.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.