github / github/app

Optimize voice dictation prompts before sending to expensive models

Abierto
#943 1 comentario 0 reacciones 0 asignados Ver en GitHub
Requests and ideas
Lenguaje dominante
Sin datos de lenguaje
Estrellas
2.1k
Forks
153
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

🤖 *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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
github
Área
ai, desktop
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Tranquilo
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.