Unstructured-IO / Unstructured-IO/unstructured-python-client

feat/<short-name> either add parameter "extract_image_block_output_dir" in unstructured api call of shared.PartitionParameters or include base46 encoded images in meta data when chunking stratergy ="by_title"

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

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

enhancement
主要言語
Python
スター
119
フォーク
22
平均マージ
1日 21時間
マージ済み PR(30日)
1

説明

Is your feature request related to a problem? Please describe.
. Ex. I'm always frustrated when Yes. I'm currently using the Unstructured API with chunking_strategy="by_title" to segment documents for downstream semantic search and RAG applications. However, when using this chunking strategy, I’m unable to retrieve the Base64-encoded images in the document (i.e., no image_base64 in the metadata of returned elements). Additionally, the parameter "extract_image_block_output_dir"—which allows extracted image blocks to be saved—is unavailable or not functioning when is used. unstructured by api call

This prevents me from building a robust multimodal pipeline that includes both structured text chunks and their corresponding visual content.

Describe the solution you'd like
I’d like one of the following to be supported when using chunking_strategy="by_title" in the Unstructured API:

(Preferred) Embed Base64-encoded image (image_base64) in the metadata of returned elements—just as is supported in r hi-res strategies.

(Alternative) Enable the extract_image_block_output_dir parameter to work unstructured by api call , so that extracted image blocks are saved to a specified directory even during chunked extraction.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

調査の方向性

この issue では、ファイル、テスト、エントリポイントが特定されていません。まず、chunking_strategy="by_title" と画像抽出を処理するクライアント API を見つけ、完了の意味が image_base64 メタデータを返すことなのか、extract_image_block_output_dir を有効にすることなのかを明確にしてください。選択した動作をテストでカバーします。

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

評価

技術スタック
python
領域
api
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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