I am using the openai Python package to import AzureOpenAI, and I have created a client for my gpt-4 deployment (1106-preview) with API version 2024-02-01. I am using Azure AI Search to perform RAG using the extra_body parameter, with a data source pointing to my vector database.
I would like to generate some confidence scores for all of the LLM responses, ideally using logprobs = True when using client.chat.completions.create. However, I keep receiving errors saying that log_probs is not supported, nor is logprobs, despite the documentation showing here: https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions that it can be used.
Is this unsupported? Is there additional configuration for me to add prior to including logprobs=True in my client.chat.completions.create request?