I’ve got text stored in a “Get Multiple Variables” module, and I’ve calculated its token count with the next module.
If the token count exceeds a specific limit (eg. 50,000 tokens), what’s the best way to truncate the text to match that limit? Using the ‘slice’ function?
No, thank you for suggesting it! Hope you find it useful!!!
If you find any issues with any of my modules, or have new module ideas or requests, I would appreciate it if you can message me with any errors you find.
You can use the private messaging feature to directly reach out to other forum members. To do this, go to your profile, and click on the “New Message” button found there: