System Message not working on Azure Openai client library

Vogel, Sabine (Sabine) 0 Reputation points
2024-04-09T12:30:12.65+00:00

The system message with same instructions works for testing in Azure OpenAI Studio but not with Azure Openai client library for Javascript. System message is ignored here. I use model version GTP-3.5 Turbo 1106.

This question was already asked in October. The response pointed out that this is a bug.

Now my question: Has this error been fixed by now?

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

1 answer

Sort by: Most helpful
  1. AshokPeddakotla-MSFT 27,401 Reputation points
    2024-04-10T05:56:29.4933333+00:00

    Vogel, Sabine (Sabine) Greetings!

    The system message with same instructions works for testing in Azure OpenAI Studio but not with Azure Openai client library for Javascript. System message is ignored here. I use model version GTP-3.5 Turbo 1106. This question was already asked in October. The response pointed out that this is a bug. Now my question: Has this error been fixed by now?

    Azure OpenAI's support for roleInformation and other extended On Your Data features was added in the 2023-12-01-preview service API version and thus wasn't yet present in the beta.5 version of the Java SDK, which was released based on the 2023-09-01-preview service API version.

    roleInformation is among the many additions for On Your Data support in this version, as can be seen in the public source here.

    Also, See Azure OpenAI client library for JavaScript - version 1.0.0-beta.12

    Please try with the latest version and let me know if you are facing any issues.