github / github/app

Optimize voice dictation prompts before sending to expensive models

Đang mở
#943 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Requests and ideas
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
2.1k
Fork
153
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

🤖 *AI response on behalf of Casey*

### Feature summary

Add an option for GitHub Copilot app voice dictation to rewrite the transcribed prompt into a concise, agent/LLM-friendly form before submitting it to the selected model.

This is broader than simple filler-word removal: the goal is to transform conversational dictated speech into a clearer task prompt that removes duplication, tightens wording, and preserves the user intent.

### What problem are you trying to solve?

When using voice-to-text, users naturally speak conversationally. They pause, repeat themselves, restate requirements, add verbal scaffolding, and use phrases that help them think aloud but do not help the agent act.

That can lead to prompts like:

> Um, I think what we need to do is, uh, look at the parser tests, and maybe, you know, update them for the new behavior. I guess what I'm saying is, make sure the agent understands that the parser should preserve quoted text but normalize whitespace elsewhere.

A more useful prompt for an agent would be:

> Update the parser tests for the new behavior: quoted text should be preserved exactly, while whitespace outside quoted text should be normalized.

The current conversational transcript can make the request harder for the agent to follow and can waste input tokens. This matters more when the target model is a large or expensive model, where every unnecessary token has higher cost.

### Proposed solution

Provide an optional voice-dictation post-processing mode that rewrites the raw transcript before submission. It could use a small, cheap, or local model rather than the selected high-capability model.

The rewrite step should:

- Remove repeated ideas, filler language, and conversational scaffolding.
- Convert spoken, meandering instructions into a direct agent task.
- Preserve technical terms, file names, code identifiers, quoted text, and explicit constraints.
- Keep the user's meaning intact rather than inventing new requirements.
- Show the rewritten prompt before send, or make the behavior configurable for users who prefer exact transcription.

### Model selection and local inference

When choosing the model for this rewrite step, the app should consider that small, capable local/on-device models are likely to become practical for this kind of prompt-cleanup task. If the rewrite can run locally, users may get the clarity and token-saving benefits without paying for a separate hosted inference request.

It may also be worth considering whether the voice pipeline could eventually combine dictation and lightweight summarization/rewriting in one model or ensemble, so the transcript is captured and normalized into an agent-ready prompt as part of the same flow.
### Workflow impact

This would make voice input more effective for agentic workflows, especially for long dictated prompts. It should improve model comprehension, reduce unnecessary context, and lower token usage when prompts are ultimately sent to larger/more expensive models.

### Related context

Related app feature request for simpler filler-word cleanup: https://github.com/github/app/issues/942

Related VS Code backlog request for speech-input post-processing: https://github.com/microsoft/vscode/issues/315508

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

No implementation files, tests, or entry points are named. Start by mapping the app's voice-dictation submission flow and reviewing related requests in github/app#942 and microsoft/vscode#315508. Done should include an optional rewrite step that preserves technical details and intent, supports a review or configuration path, and considers small or local models.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
github
Lĩnh vực
ai, desktop
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.