AI prompt splitter
What type of request is this?
New tool idea
Clear and concise description of the feature you are proposing
I often have large infomation and documents i want to sent to a AI, however they have set character limits, Propose a tool which splits prompts to a set size to allow input into a ai chatbot
Is their example of this tool in the wild?
https://chatgpt-prompt-splitter.jjdiaz.dev/ https://github.com/jupediaz/chatgpt-prompt-splitter
The total length of the content that I want to send you is too large to send in only one piece.
For sending you that content, I will follow this rule:
[START PART 1/10]
this is the content of the part 1 out of 10 in total
[END PART 1/10]
Then you just answer: "Received part 1/10"
And when I tell you "ALL PARTS SENT", then you can continue processing the data and answering my requests.
Additional context
No response
Validations
- [X] Check the feature is not already implemented in the project.
- [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
- [X] Check that the feature can be implemented in a client side only app (IT-Tools is client side only, no server).
Hi @Frooodle and @CorentinTh , implemented in #1266
@sharevb oh man i just saw your comment after i finished creating this.. lol welp here's my rendition of this tool if you were interested! @Frooodle @CorentinTh
Pull Request: https://github.com/CorentinTh/it-tools/pull/1357 Added AI Prompt Splitter functionality:
- preview here: https://gitmotion-it-tools-beta.vercel.app/ai-prompt-splitter
- character limit input
- split counter shown on button and label (dynamically updates as input and/or character limit changes)
- shows the split prompts
- copy buttons for Instructions, Full Prompt, Final command, and dynamically generated Copy Parts button
- copy parts button shows as highlighted to keep track of what was already clicked
- clear button clears the Content input, split prompts input and copy parts buttons
- prompt content label includes text count
- accounts for [START PART X/Y] and [END PART X/Y] for each split to stay within character limit
Want this change?
Check it out here: (https://gitmotion-it-tools-beta.vercel.app/ai-prompt-splitter)
You can use my image in your docker-compose file if you want this functionality along with my other additions until the main branch has been updated. view full list of features added in readme
Installation methods
| Docker Image | Local Installation |
|---|---|
ghcr.io/gitmotion/it-tools:latest |
git clone -b gitmotion/main https://github.com/gitmotion/it-tools.git && cd it-tools/ && pnpm i && pnpm dev |
| replace your current image with this image | copy & paste oneliner (from github repo) |
| You may need to clear cache and hard reload to get new features loading | Installing packages for the first time may take some time; please wait until it finishes |
Hi @gitmotion , may be we can mix our tools, if you are interested in an up to date version of it-tools, with many improvements, new tools, and bug fixes, as this repo is almost no more maintained, I made a fork here : https://github.com/sharevb/it-tools (https://sharevb-it-tools.vercel.app/ and docker images https://github.com/sharevb/it-tools/pkgs/container/it-tools)