You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@surki01 Thanks for using simple-openai. You're right. Our colleague @the-gigi developed a first version for that, however, we realized that the Azure Assistant API was not well supported and incomplete at the time, so we decided to deprecate it for a while. Currently, the supported services for Azure are: Chat Completions (full) and Files.
Hello,
I hope this message finds you well. I am getting "Not implemented" error when trying to use Assistants API with Azure OpenAI.
When checked through the issues/PRs, I observed that this was implemented through these PR.
#73
#72
Is there anything wrong with my understanding or the code that I am trying out? Can you please help on this?
`HttpClient httpClient = HttpClient.newBuilder().build();
SimpleOpenAIAzure openAI = SimpleOpenAIAzure.builder()
.apiKey("xxxxxxxxxxxxxxxxxx")
.baseUrl("https://xxxxxxxxxxxxxx.openai.azure.com/openai/deployments/xxxxxxxxxx")
.apiVersion("xxxxxxxxxxxxxxxxx")
.httpClient(httpClient)
.build();
var assistantRequest = AssistantRequest.builder()
.model("gpt-4o-mini")
.instructions("You are a skilled tutor on geo-politic topics.")
.build();
var futureAssistant = openAI.assistants().create(assistantRequest);
var assistantResponse = futureAssistant.join();`
The text was updated successfully, but these errors were encountered: