Natural Language Intent Routing
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- github-actions, typescript
調査の方向性
まず、既存の dispatcher workflow とその slash-command 処理を確認し、次に run-gemini-cli を使用した提案済みの分類ステップを調査します。review、triage、invoke、あいまいなリクエストをどのようにルーティングするかを定義し、既存の slash command が引き続き適切に処理されることを確認しながら、自然言語の例が機能することを検証します。
索引モデルが issue の本文から書いたものです。
説明
Problem
The current dispatcher pattern relies on slash commands (@gemini-cli /review, @gemini-cli /triage) limits the natural interaction experience:
- Rigid syntax: Users must remember exact slash commands (/review, /triage)
- Poor discoverability: No way to know what commands are available except by reading workflows
- Unnatural interaction: Doesn't leverage Gemini's natural language understanding capabilities
- Limited flexibility: Can't handle variations or synonyms (e.g., "please review this" vs "/review")
- User friction: Have to context-switch to remember command syntax
Solution
Intent routing involves:
- Parse natural language requests instead of requiring slash commands
- Automatically detect intent from user requests
- Route to appropriate workflows based on semantic understanding
- Provide fallback handling for ambiguous requests
Here are some examples:
- Review intent: "review", "analyze", "check", "examine", "audit"
- Triage intent: "categorize", "label", "classify", "organize", "tag"
- Implement intent: "fix", "update", "change", "modify", "improve"
- General query intent: "explain", "help", "what", "how", "why"
Example
This is an example routing step:
# Example enhanced dispatcher logic
- name: 'Classify intent'
if: |-
${{ !startsWith(github.event.comment.body, '@gemini-cli /') }}
env:
REQUEST_BODY: '${{ github.event.comment.body || github.event.review.body || github.event.issue.body }}'
uses: 'google-github-actions/run-gemini-cli@main'
with:
prompt: |-
Classify this request into one of: review, triage, invoke
Request: "${REQUEST_BODY}"
Return only the classification.
This would be the outcome:
❌ Before: "@gemini-cli /review focus on security"
✅ After: "@gemini-cli please review this PR for security issues"
❌ Before: "@gemini-cli /triage"
✅ After: "@gemini-cli can you help categorize this issue?"
- 主要言語
- TypeScript
- スター
- 2.1k
- フォーク
- 285
- 平均マージ
- 8時間 8分
- マージ済み PR(30日)
- 1
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
google-github-actions/run-gemini-cli のほかの issue
-
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
google-github-actions/run-gemini-cli の issue をすべて見る
似ている issue
-
bug(cli): hapi doctor inline-media prints a fabricated B:\ helper-script path in packaged installs オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
Crush オープン
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
catppuccin/catppuccin#3125 ·
-
Add a SECURITY.md オープン
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
ElementsProject/cln-application#167 · コメント 1 件 · リアクション 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Quantco/pnpm-licenses#17 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100