You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
result = extractor.extract(schema, fast_config, "simple_document.pdf")
177
-
result = extractor.extract(schema, balanced_config, "complex_document.pdf")
178
-
```
179
-
180
195
### Important restrictions on JSON/Pydantic Schema
181
196
182
197
_LlamaExtract only supports a subset of the JSON Schema specification._ While limited, it should
@@ -194,6 +209,62 @@ be sufficient for a wide variety of use-cases.
194
209
your extraction workflow to fit within these constraints, e.g. by extracting subset of fields
195
210
and later merging them together.
196
211
212
+
## Extraction Configuration
213
+
214
+
Configure how extraction is performed using `ExtractConfig`. The schema is the most important part, but several configuration options can significantly impact the extraction process.
215
+
216
+
```python
217
+
from llama_cloud import ExtractConfig, ExtractMode, ChunkMode, ExtractTarget
For complete configuration options, advanced settings, and detailed examples, see the [LlamaExtract Configuration Documentation](https://docs.cloud.llamaindex.ai/llamaextract/features/options).
267
+
197
268
## Extraction Agents (Advanced)
198
269
199
270
For reusable extraction workflows, you can create extraction agents that encapsulate both schema and configuration:
@@ -326,6 +397,7 @@ Another option (orthogonal to the above) is to break the document into smaller s
326
397
327
398
## Additional Resources
328
399
400
+
-[Extract Documentation](https://docs.cloud.llamaindex.ai/llamaextract/getting_started) - Details on Extract features, API and examples.
329
401
-[Example Notebook](docs/examples-py/extract/resume_screening.ipynb) - Detailed walkthrough of resume parsing
330
402
-[Example Application with TypeScript](./examples-ts/extract/) - End-to-end examples using LlamaExtract TypeScript client.
331
403
-[Discord Community](https://discord.com/invite/eN6D2HQ4aX) - Get help and share feedback
0 commit comments