Skip to content

feat: 画像内コンテンツの検索#2968

Draft
akimon658 wants to merge 2 commits intomasterfrom
feat/image-search
Draft

feat: 画像内コンテンツの検索#2968
akimon658 wants to merge 2 commits intomasterfrom
feat/image-search

Conversation

@akimon658
Copy link
Copy Markdown
Member

closes #2963

akimon658 and others added 2 commits March 23, 2026 17:36
ESインデックスにimageText/imageVectorフィールドを追加し、外部サーバーによる
OCR/Embedding結果を格納できるようにする。検索時はテキスト検索にimageTextを
含めつつ、ベクトル検索が可能な場合はRRFハイブリッド検索を行う。
外部サーバーのダウン時は従来のテキスト検索にフォールバックする。

- 外部画像処理クライアントのインターフェースとスタブ実装
- ESマッピングにimageText(text)とimageVector(nested+dense_vector)を追加
- メッセージインデックス後に非同期で画像処理を実行しESを部分更新
- アニメーション画像は処理対象外
- image-indexバッチサブコマンドの追加
- imageSearch設定セクション(URL, timeout, vectorDimension)の追加

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
ESから画像付きだがimageVector未設定のメッセージを検索して処理する方式に
変更し、中断後の再実行で残りのメッセージのみを処理できるようにした。
--clearフラグおよびimage-index-clearコマンドでインデックスデータの
クリアも可能にし、embeddingモデル変更時の再処理に対応した。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 23, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 0ffd4916-2022-4be6-85fe-eb70c9b9563a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/image-search

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Inbox

Development

Successfully merging this pull request may close these issues.

画像内テキストの検索

1 participant