Extractions Lab
Read a dispatch, a cargo tag, and a permit from the North Ridge expedition. See how ExtractionsDotNet turns each source into fields your code can use.
Text
Expedition Dispatch
Edit the field report, extract the itinerary, and forecast water use for the next three days.
Read the dispatch → PNG · JPEG · WebPCargo Tag
Read the crate ID, weight, inspection date, and contents from a printed label.
Inspect the tag → PDFPermit Desk
Find the issuing office and approved activities. Check how a missing field is reported.
Review the permit →Field coverage
- Text and number
- Expedition name and supply count in the dispatch, crate ID and weight on the tag.
- Date, time, datetime, duration
- Departure date, radio check, timestamp with offset, and travel hours in the dispatch.
- List of text, numbers, or dates
- Crew names, daily water use, and resupply dates in the dispatch. The tag and permit also return text lists.
- Estimate and forecast
- One estimate for tomorrow’s water use and a forecast for each of the next three days.
View C# example
using ExtractionsDotNet;
// dotnet add package ExtractionsDotNet
using var client = OpenRouterExtractionsClient.FromEnvironment(); // reads OPENROUTER_API_KEY
var response = await client.ExtractAsync(new ExtractionRequest("cloudflare/clairic",
new Dictionary<string, ExtractionField>
{
["invoice_number"] = new TextField(),
["total"] = new NumberField { Decimals = 2, Unit = "USD" },
["due_date"] = new DateField { Instructions = "The due date stated on the invoice" }
})
{
State = "Invoice INV-2291 is due 2026-10-02. Total $1080."
});
var total = response.GetNumber("total");
Console.WriteLine($"{response.GetText("invoice_number").Value}: {total.Value} USD " +
$"(confidence {total.Confidence:P0}), due {response.GetDate("due_date").Value}");
// In ASP.NET Core: builder.Services.AddOpenRouterExtractionsClient(builder.Configuration);