code-block-pro icon indicating copy to clipboard operation
code-block-pro copied to clipboard

AI integrations

Open KevinBatdorf opened this issue 1 year ago • 1 comments

Would anyone be interested in any sort of AI tooling? Not code generation, but editing assistance/checking/summarization.

I don't want to build a product that will just generate code for spammy blog posts, but I believe there are use cases that can be on the "make the internet better" side of things:

  • identifies potential bugs in code snippets
  • adds comments to code in potentially confusing areas (maybe you set your target audience's skill level)
  • suggesting clarity fixes
  • under the code add a summary of what it does (so similar to comments, but after the block in a <p> block)

Any other ideas?

I would make this a "bring your own keys" option with maybe an option to use a server I set up

I know anything ai related might annoy people too (even just seeing it), so I'll also add a way to hide it entirely for those not interested.

KevinBatdorf avatar Oct 22 '23 03:10 KevinBatdorf

I wouldn't mind a simple AI integration where it suggests bugs, fixes and cleaner code output. And the option for a short summary describing the code snippet would be cool.

I don't mind using my own API.

Shepdesign avatar Nov 06 '23 17:11 Shepdesign