Replies: 1 comment
-
Thank you for reaching out, @nk-alex ! The code above appears to be using the Responses API, but you mention trying to use the Assistants API in your C# code. This might be the reason for why your solution might be looking so different. You can use the Responses API starting with version 2.2.0-beta.4 of the NuGet package. You will find everything related to it under the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using OpenAI API to perform data extraction from images of driver licenses uploaded by users.
Here is a sample code for python api:
On javascript, the script is very similar to this as well. But now I need to migrate this script to c# in order to be able to run it from my .NET MAUI application. But I'm really struggling since c# API is COMPLETELY different than python and js (which I don't quite understand since this is an official repo). Official docs also don't show the code for c#.
The samples on this repo Readme page brought me to AssistantClient which seems to be unusable without adding #pragma warning disable OPENAI001 as won't complie due to OpenAI.Assistants.AssistantClient is for evaluation purposes only and is subject to change or removel in future updates. Suppress this diagnostic to proceed.
So, which is the correct way to achieve the same as in the javascript/python script?
Beta Was this translation helpful? Give feedback.
All reactions