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"
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 119
- Fork
- 22
- Merge medio
- 1g 21h
- PR unite (30g)
- 1
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
La issue non identifica alcun file, test o punto di ingresso. Inizia individuando la gestione, nell’API client, di chunking_strategy="by_title" e dell’estrazione delle immagini, quindi chiarisci se il completamento consiste nel restituire i metadati image_base64 o nell’abilitare extract_image_block_output_dir, con test che coprano il comportamento scelto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- api
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100