Skip to main content

Notifications

Copilot Studio - General
Answered

The length of the prompt instructions exceeds the threshold

(0) ShareShare
ReportReport
Posted on by 13
Hi, 

I've recently started to experience issues with prompting in the 'conversation booster'/AI feature. See image. 
 
When I leave it blanc, it works. But when I add something in the prompt, it gives me the error message. 

Error Message: The length of the prompt instructions exceeds the threshold Error Code: OpenAIAdditionalInstructionsLengthExceededLimit Conversation Id: 11eadb41-5105-4428-8d2d-0f9e617ad593 Time (UTC): 2024-06-22T21:24:36.059Z

I've had previous longer prompts, and now this occurs every time I have something in the prompt. Which is strange, because I am far away from the limit. 
Is it because I add variables? They are not long either Example industry could be 'healthcare'(in this example). 

How can I navigate this one? 
  • NH-13080504-0 Profile Picture
    NH-13080504-0 4 on at
    The length of the prompt instructions exceeds the threshold
    I do not know if you are still having issues, what resolved the problem for me, was reducing the number of instructions on the overview. Hopefully that helps.
  • The length of the prompt instructions exceeds the threshold
    I am facing the same exact issue, in my case I am passing the  Azure AI search (List of content.value) to LLM + the user question, like below.

    can you please see how can i fix this issue?

     
  • Verified answer
    ØR-22062130-0 Profile Picture
    ØR-22062130-0 13 on at
    The length of the prompt instructions exceeds the threshold
    I found out that this was due to the system prompt, which was really long. This + the prompt for the data, equals overload. 

    I reduced the system prompt, and it worked!

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,304

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard