-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Session.request() got an unexpected keyword argument 'output_content_format' #39678
Comments
Hey, @bb-at-ss. Can you confirm that you are actually using version For |
Hi @bb-at-ss. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue. |
Yes. 100% I'm using 1.0.0 because I made sure to check and update the module before submitting the issue as part of basic trouble shooting. Here again from VS code this morning.
I tried both strings and the Enum there. Many examples have either, but I continue to encounter this bug. Right now I'm working around it no problem, but I am here to answer more questions if that helps. |
Hi @bb-at-ss. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue. |
This is probably on my end then. I will have to look into this, but this can probably be closed. |
Hi @bb-at-ss. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text "/unresolve" to remove the "issue-addressed" label and continue the conversation. |
@bb-at-ss let us know if you still run into errors, happy to help. |
Describe the bug
I've been using Azure Doc Intel in production for a couple of months and now we wanted to add some features, ideally extracting text directly into markdown now. However, when trying to read in the pdf as bytes and use then use the Azure Doc Intel client to read the pdf, extract the text, and return it as formatted markdown we get the following error:
Session.request() got an unexpected keyword argument 'output_content_format
.I've searched the code base high-and-low, tried the enum, tried several variations of how to input the pdf file bytes, etc., but the error persists. Commenting it out and running it on our test set of pdfs that have previously been through the pipeline and it works as expected.
To Reproduce
The text was updated successfully, but these errors were encountered: