I belive this will be the first angular editor support OpenAI generate.
information:
plugin name: ai-assist
description: support openAI and anthorpic text streaming to generate or modify the text block.
task 1: create plugin draft (editor)
task 2: add slash call or ++ to show dialog (editor)
task 3: connect to openAI or any streaming tool through API setting
task 4: convert current text to markdown then send to openAI
task 5: convert back markdown to normal text and override it (editor)
discussion
I think this is not a big task but not a small one. I hope you can give me some thought and guideline, maybe a seed plugin name should be useful. I can handle these openAI call on task 3,4 task 1,2,5 will take time since I'm not family with it
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in the thread.
Proposal
I belive this will be the first angular editor support OpenAI generate.
information:
discussion
reference
https://github.com/steven-tey/novel/blob/2abe1460207d78651593cd75990ea39195b8d5b8/apps/web/components/tailwind/generative/ai-selector.tsx#L31
https://github.com/search?q=repo%3Asteven-tey%2Fnovel%20AISelectorCommands&type=code
https://github.com/steven-tey/novel/blob/2abe1460207d78651593cd75990ea39195b8d5b8/apps/web/components/tailwind/generative/ai-selector-commands.tsx#L41
https://vrite.io/blog/how-i-put-chat-gpt-into-a-wysiwyg-editor/
https://milkdown.dev/blog/build-your-own-milkdown-copilot
https://milkdown.dev/blog/understanding-headless-slash-plugin
Willing to submit a PR?
Yes