Comments (12)
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.
I had the same issue. Downgrading from openai==1.35.7 to openai==1.34.0 solved the problem.
from azure-rest-api-specs.
@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.
@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.
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.
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.
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.
@iscai-msft Please help take a look, thanks.
from azure-rest-api-specs.
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.
@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.
@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.
@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)
- [IC3 ACS Calling ] API Review
- [Discussion] How best to customize "body" parameter name for BodyParameter HOT 3
- [BUG][Web] Error "Properties object is not present in the request body." returns when try to create a secret which does not have the parameter propertities HOT 1
- [BUG][CostManagement] Model QueryDataset missing property "include" in the swagger
- [BUG]Microsoft.Web [2023-01-01] - API is not returning the push properties as defined in the swagger HOT 1
- [Playwright-DevDiv-Service - Playwright] API Review HOT 3
- [Health Data DeIdentification - Azure Health AI Deidentification service ] API Review
- [BUG] Incorrect param name in Microsoft.Security securityContacts HOT 1
- [TypeSpecValidation] Add suppression mechanism specific to TSV-All
- [BUG] Microsoft.Security pricings 2024-01-01 has incorrect scope in documentation HOT 2
- [BUG] Fail to create MS SQL Virtual Machine Availability Group Listener HOT 1
- [BUG] Fail to update the Container Group resource with Storage Account Key
- [BUG] `tool_choice="required"` is still not supported in the latest OpenAI API version HOT 14
- [Azure AI Content Safety - Azure AI Content Safety] API Review
- [Azure AI Content Safety - Azure AI Content Safety] API Review
- [Azure AI Content Safety - Azure AI Content Safety] API Review
- [Azure AI Content Safety - Azure AI Content Safety] API Review
- [Azure AI Content Safety - Azure AI Content Safety] API Review
- [BUG] Insights standard web test (webTest) frequency is unclearly limited to 300, 600, 900 HOT 1
- [BUG] PowerBI Embedded API always returns "Gen2" for the mode property even if the mode property is set to "Gen1" in the request payload HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-rest-api-specs.