-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Scratch pad for notes and/or text splitting? #17
Comments
Hi George thanks for your feedback. Cloudflare: Will you be willing to write a little Markdown (we put it in /docs/deploy-cloudflare.md) to super briefly explain how to do it? I've never done it, and would love to document, link it from the main Readme, and try it out! Scratchpad. Love the idea. Shall be there. I'll mark this as a feature and work on it. Text splitting I like your demo. I am thinking at having a scratchpad with tokens counting, and maybe a splitter button that will create other pads. Before I do this part - can you tell me more about your usecase and your workflow? |
For setting up your nextjs app on Cloudflare Pages you can follow Cloudflare developer docs at https://developers.cloudflare.com/pages/framework-guides/deploy-a-nextjs-site/ The only difference is I took these steps below:
If that is something you can follow? My use case is basically for coding or where inputs are pretty large so needs splitting up to drip feed the inputs to ChatGPT |
@enricoros thanks! |
@centminmod, used your instructions up here to create deploy-cloudflare.md |
that link to md file gives me no search results? edit: ah you mean https://github.com/enricoros/nextjs-chatgpt-app/blob/main/docs/deploy-cloudflare.md :) Related to scratch pad when pasting in text, not sure if anything can be done for security to protect against prompt injection attacks like |
Thanks for pointing this out. Will keep this top on mind in the next refactorings. |
This will be part of the editor of #202 |
@enricoros Love your work, it was very easy to setup using Cloudflare Pages https://developers.cloudflare.com/pages/framework-guides/deploy-a-nextjs-site/ once you set
NODE_VERSION
https://developers.cloudflare.com/pages/platform/build-configuration/ 😀The first suggestion is how about a scratch pad for notes on a expand/collapse sidebar column? Sometimes you work with a text size that is greater than the token length, so need the whole text to be placed somewhere.
Even better, add support for the notepad to allow full-text input and count characters/tokens and then users can define how many characters or tokens to split text by and have neat snippets of text displayed to be copied and pasted. I did a standalone text splitter demo for what I mean at https://slicer.centminmod.com/ 😃
cheers
George
The text was updated successfully, but these errors were encountered: