| extract_from_image | R Documentation |
Extract schema-constrained structured data from an image using a multimodal language model.
extract_from_image(
model,
image,
schema,
prompt = "Extract the requested structured information from this image.",
system = NULL,
registry = NULL,
...
)
model |
A |
image |
Image source accepted by |
schema |
A |
prompt |
Prompt describing the extraction task. |
system |
Optional system prompt. |
registry |
Optional provider registry. |
... |
Additional arguments passed to |
A GenerateResult.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.