Git Product home page Git Product logo

Comments (12)

corytomlinson avatar corytomlinson commented on July 30, 2024 2

For my case, using openai = "^1.26.0" and langchain-openai = "0.1.8" would not be a problem. If anyone are using langchain you can rollback the version first to temp fix the problem

Issue has nothing to do with OpenAI or Langchain. It is the Azure OpenAI API that is behind. There is no temp fix for this problem. It requires Microsoft to support the parameter in their API.

from azure-rest-api-specs.

adrianzartis avatar adrianzartis commented on July 30, 2024 2

I had the same issue. Downgrading from openai==1.35.7 to openai==1.34.0 solved the problem.

from azure-rest-api-specs.

wooters avatar wooters commented on July 30, 2024 1

@kristapratico I believe there is still a bug here even though parallel_tool_calls is not supported yet.

Because:

  • the OpenAI API sets parallel_tool_calls to True by default
  • the Azure OpenAI service does not explicitly set parallel_tool_calls to False

So, parallel_tool_calls is ON when using the Azure OpenAI service, and there is no way to turn it off.

from azure-rest-api-specs.

wooters avatar wooters commented on July 30, 2024 1

@kristapratico Thanks for your response. I guess I misunderstood your comment:

parallel_tool_calls is not supported by the Azure OpenAI service yet.

By this, I guess what you mean is: "the ability to use the parallel_tool_calls arg to turn OFF parallel tool calls."

Thanks for clarifying. I look forward to this being added to Azure.

from azure-rest-api-specs.

wooters avatar wooters commented on July 30, 2024

Thank you for posting this @gregwdata! I've been banging my head against the wall for the past week trying to figure out what was wrong.

from azure-rest-api-specs.

corytomlinson avatar corytomlinson commented on July 30, 2024

Unfortunately another instance where Azure OpenAI is not able to keep up parity with OpenAI. This kind of discrepancy makes it really tough to develop on Azure. It’s bad enough having to wait weeks for the new models.

from azure-rest-api-specs.

axiangcoding avatar axiangcoding commented on July 30, 2024

For my case, using openai = "^1.26.0" and langchain-openai = "0.1.8" would not be a problem. If anyone are using langchain you can rollback the version first to temp fix the problem

from azure-rest-api-specs.

v-jiaodi avatar v-jiaodi commented on July 30, 2024

@iscai-msft Please help take a look, thanks.

from azure-rest-api-specs.

kristapratico avatar kristapratico commented on July 30, 2024

parallel_tool_calls is not supported by the Azure OpenAI service yet. When it is supported, it will be added to the spec under the API version which supports its usage. You can follow the what's new page on MS Learn for updates.

from azure-rest-api-specs.

kristapratico avatar kristapratico commented on July 30, 2024

@wooters maybe I misunderstand, but the support coming would allow for the ability to turn parallel_tool_calls off. Both services have this on by default, and once supported by Azure, you'll be able to disable it, too.

from azure-rest-api-specs.

HoangNguyen689 avatar HoangNguyen689 commented on July 30, 2024

@kristapratico
Can I ask when you plan to support this feature? Just following the changelog seems quite hopeless, and there isn’t any useful information at all.
At the very least, I would like a patch to make it compatible with the OpenAI API function signature, even if it’s not yet supported.

from azure-rest-api-specs.

janaka avatar janaka commented on July 30, 2024

@kristapratico it would be really great if there was a feature release roadmap. Even if the time lines are by quarter.

We would like answers to the questions "when is feature A that OpenAI has already release going to be available on Azure OpenAI Inference API?" right now specifically parallel_tool_calls and tool_choice=required. Released on OpenAI in June and April respectively. When will they be available on Azure? How do we get the answer to that question?

from azure-rest-api-specs.

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.