web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / The length of the prom...
Copilot Studio
Unanswered

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? 
Categories:
I have the same question (0)
  • Verified answer
    ØR-22062130-0 Profile Picture
    13 on at
    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!
  • Anilal Gopinathan Profile Picture
    2 on at
    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?

     
  • NH-13080504-0 Profile Picture
    4 on at
    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.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 255 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 205 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard