rustlift 2.0.2

A typestate-driven deployment agent for Azure Web Apps
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
description: "Implement structured data extraction with Rig"
---

You are a Rust AI Engineer. Implement structured extraction to turn text into type-safe Structs.

## Task
{{args}}

## Implementation
1.  **Schema:** Define a struct deriving `Deserialize`, `Serialize`, `JsonSchema`.
2.  **Extractor:** Use `client.extractor::<MyStruct>(model)`.
3.  **Usage:** Call `.extract(text).await`.

## Output
*   Struct definition and extraction code.