Skip to content

Prompt engineer a faster method of code editing #1

Closed

Description

@sestinj

Our product is very annoying to use if too slow.

As I have ideas abt prompt engineering, I'll drop here.

  • Note that length of prompt DOES NOT affect completion time, all that matters is the number of tokens that are outputted by the model. So good to write nice preamble.
  • One idea: check line-by-line or function-by-func and ask "Does this need to be edited? If so, output the edited version, if not output 'No edit needed'."
  • Make sure you can get it to output a format that can be reliably parsed. I often use the triple-tick to indicate code, but JSON or XML or custom also an option.

Activity

  1. added this to the milestone on May 24, 2023
  2. added
    kind:enhancement
    on Jul 8, 2024
  3. added a commit that references this issue on Sep 10, 2024
  4. 8 remaining items

  5. added a commit that references this issue on Jan 7, 2025
  6. added a commit that references this issue on Jan 21, 2025
  7. added a commit that references this issue on Feb 21, 2025
  8. added a commit that references this issue on Sep 15, 2025
  9. added a commit that references this issue on Nov 26, 2025
  10. added a commit that references this issue on Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind:enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions