Question About Extract Scheme #577

Open
opened 2026-02-16 00:18:18 -05:00 by yindo · 1 comment
Owner

Originally created by @zombbbia on GitHub (Dec 1, 2025).

I learned about the Llama Extract service from the documentation at
https://developers.llamaindex.ai/python/cloud/llamaextract/getting_started/python/

and successfully tested it on the web interface.

On the web UI, it is possible to upload documents and provide a prompt to automatically generate a scheme.
I am particularly interested in this automatic scheme-generation process and would like to reproduce it using Python.

However, after reviewing the Python SDK, I found that:

It seems there is no available API to perform automatic scheme generation;

The Python SDK currently only allows defining Pydantic models or JSON Schemas manually.

Is there an existing API in the Python SDK that can perform automatic scheme generation, similar to the web interface?
Or is support for this feature planned for future releases?

Thank you!

Originally created by @zombbbia on GitHub (Dec 1, 2025). I learned about the Llama Extract service from the documentation at https://developers.llamaindex.ai/python/cloud/llamaextract/getting_started/python/ and successfully tested it on the web interface. On the web UI, it is possible to upload documents and provide a prompt to automatically generate a scheme. I am particularly interested in this automatic scheme-generation process and would like to reproduce it using Python. However, after reviewing the Python SDK, I found that: It seems there is no available API to perform automatic scheme generation; The Python SDK currently only allows defining Pydantic models or JSON Schemas manually. Is there an existing API in the Python SDK that can perform automatic scheme generation, similar to the web interface? Or is support for this feature planned for future releases? Thank you!
Author
Owner

@Sudhakar17 commented on GitHub (Dec 17, 2025):

@zombbbia I also face the same problem. did you figure it out?

@Sudhakar17 commented on GitHub (Dec 17, 2025): @zombbbia I also face the same problem. did you figure it out?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/llama_cloud_services#577