Problem with azure completion rest api

Rui Mourão Nogaró 0 Reputation points
2024-05-21T16:45:28.08+00:00

Hello,

I'm trying implement one solution with azure open ai completion rest api.

I'm using the version 2024-02-01 that is stable. I'm using the open AI services with AI Search as source to performe search in my own documentation that I put in blob storage.

My problem is that when I call the open Ai completion API with a exchange of messages from me with the assistant, if I send the citations and intent empty in the assistant messages I get an error because seems that the parameter is mandatory for assistant and these parameters are not mandatory in documentation.

Is it a problem with api?

Thank you

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
2,645 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AshokPeddakotla-MSFT 30,511 Reputation points
    2024-05-22T02:49:49.91+00:00

    Rui Mourão Nogaró Greetings & Welcome to Welcome to Microsoft Q&A forum!

    Which documentation are you referring to? The citations and intent is moved from assistant message's context tool messages to assistant message's context root level with explicit schema defined.

    Can you provide the exact error message you are receiving when you call the API without these parameters?

    Are you seeing the same issue with other versions well?