Skip to main content

Notifications

Power Automate - Using Connectors
Unanswered

HTTP Connector for Azure OpenAI - Parameters Error

(1) ShareShare
ReportReport
Posted on by 11

We are integrating Azure's GPT into a PowerApp using our Premium License.

It works perfectly fine when we send the message body without any parameters but when we add the parameters, we are faced with this error:

 

 

The extensions chat completions operation must have at least one extension.

 

 

My endpoint: 

https://XXXXXXXX.azure.com/openai/deployments/ccc-gpt4/extensions/chat/completions?api-version=2023-07-01-preview

My code:

 

{ 
 "messages": [ 
 { 
 "role": "user", 
 "content": "Hi" 
 } 
 ], 
 "extensions": [ 
 { 
 "type": "default", 
 "settings": { 
 "temperature": 0.7, 
 "top_p": 0.95, 
 "frequency_penalty": 0, 
 "presence_penalty": 0, 
 "max_tokens": 110, 
 "stop": null 
 } 
 } 
 ], 
 "azureSearchEndpoint": "https://XXXX.net", 
 "azureSearchKey": "XXXXXXXXXX", 
 "azureSearchIndexName": "XXXXXXX" 
} 

 

 Any help would be greatly appreciated.

  • Imanabdul Profile Picture
    Imanabdul 4 on at
    Re: HTTP Connector for Azure OpenAI - Parameters Error

    I get this error when I am working on it from the portal. How is that possible?

  • jitendra1 Profile Picture
    jitendra1 2 on at
    Re: HTTP Connector for Azure OpenAI - Parameters Error

    Hi, I am also facing the same issue.

    Without extensions its working but while adding extension its throwing the same error that "The extensions chat completions operation must have at least one extension.".

    I am using the Azure OpenAI endpoints and key with power automate.

  • Pranavkumar Profile Picture
    Pranavkumar on at
    Re: HTTP Connector for Azure OpenAI - Parameters Error

    I am also facing same issue by using similar JSON code suggested by OpenAI playground in my Logic APp flow

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,636

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,942

Leaderboard

Featured topics