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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Text token chunk strategy
Power Automate
Unanswered

Text token chunk strategy

(0) ShareShare
ReportReport
Posted on by 188

Hi Fam,

 

I have used the AI builder to extract text and images from PDF.

The goal is to feed it to ChatGPT but before that, I need to divide them into chunks as per model max token limit of 4096.

In Python, I would've used a library.

 

How do you do that in Power Automate?

What's the simplest way to split tokens after the step of "Recognize text in an image"

 

Best regards,

 

Categories:
I have the same question (0)
  • subrata_bc Profile Picture
    25 on at

    Is there any solutions available for this, as I am also looking for the same 🙂 

  • Chriddle Profile Picture
    8,515 Super User 2026 Season 1 on at

    Check function chunk(array_or_string, number) 😉

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 239 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 177 Super User 2026 Season 1

#3
Kalathiya Profile Picture

Kalathiya 97 Super User 2026 Season 1

Last 30 days Overall leaderboard