Azure / azure-sdk-for-net

This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
MIT License
5.57k stars 4.82k forks source link

I try to upload file to assistant API #44039

Open MahmoudElsayedAyoub opened 6 months ago

MahmoudElsayedAyoub commented 6 months ago

Type of issue

Typo

Description

Additional properties are not allowed ('filename' was unexpected) Status: 400 (Bad Request)

Content: { "error": { "message": "Additional properties are not allowed ('filename' was unexpected)", "type": "invalid_request_error", "param": null, "code": null } }

Headers: Access-Control-Allow-Origin: REDACTED x-ms-middleware-request-id: REDACTED X-Content-Type-Options: REDACTED X-Request-ID: REDACTED apim-request-id: REDACTED Strict-Transport-Security: REDACTED x-ms-client-request-id: 36bd1d80-09f6-4bc1-9e01-ceb1113e3df6 x-ms-region: REDACTED Date: Wed, 15 May 2024 07:17:12 GMT Content-Length: 178 Content-Type: application/json

Page URL

https://learn.microsoft.com/en-us/dotnet/api/azure.ai.openai.assistants.openaifilepurpose?view=azure-dotnet-preview

Content source URL

https://github.com/Azure/azure-docs-sdk-dotnet/blob/master/xml/Azure.AI.OpenAI.Assistants/OpenAIFilePurpose.xml

Document Version Independent Id

1fbc3c83-f4a5-3444-0150-5536301ec165

Article author

@azure-sdk

Metadata

github-actions[bot] commented 6 months ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @jpalvarezl @trrwilson.

Freddeb commented 6 months ago

Hi, please check post here