feat(android): add ml kit task apis and context caching

オープン
#366 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
20/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
android, react-native, typescript
領域
mobile-dev

調査の方向性

Start by comparing the existing @react-native-ai/android native module surface with the AppleSpeech/AppleTranscription helpers in the apple package. Read the ML Kit docs for the listed genai-summarization, genai-proofreading, genai-rewriting, genai-image-description, genai-speech-translation and context-caching APIs, then decide which deserve helpers and whether they belong in this module or a separate package. Done means a written API proposal, not an implementation.

索引モデルが issue の本文から書いたものです。

説明

enhancement

ML Kit GenAI also ships APIs that aren't AI SDK model types, left out of @react-native-ai/android's first version:

  • genai-summarization, genai-proofreading, genai-rewriting, genai-image-description (1.0.0-beta1): task-specific Gemini Nano features with streaming
  • genai-speech-translation (1.0.0-alpha1): streamed audio to translated text and audio
  • genai-prompt context caching: Caches, PromptPrefix and cachedContextName (on the test Pixel 9 Pro caching reports available but fails with 606 FEATURE_NOT_FOUND)

Decide which are worth helpers on the native module (like AppleSpeech/AppleTranscription in the apple package), or a separate package.

主要言語
TypeScript
スター
1.4k
フォーク
64
平均マージ
11時間 24分
マージ済み PR(30日)
91

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

callstackincubator/ai のほかの issue

callstackincubator/ai の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。