Skip to content

Commit 54d6ddd

Browse files
atierianjosefaidt
andauthored
Update src/pages/[platform]/ai/generation/data-extraction/index.mdx
Co-authored-by: josef <[email protected]>
1 parent 444b1b2 commit 54d6ddd

File tree

1 file changed

+1
-1
lines changed
  • src/pages/[platform]/ai/generation/data-extraction

1 file changed

+1
-1
lines changed

src/pages/[platform]/ai/generation/data-extraction/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Data extraction allows you to parse unstructured text and extract structured dat
3232

3333
The following example shows how to extract product details from an unstructured product description. The AI model will analyze the text and return a structured object containing the product name, summary, price, and category.
3434

35-
```typescript title="Schema Definition"
35+
```typescript title="amplify/data/resource.ts"
3636
const schema = a.schema({
3737
ProductDetails: a.customType({
3838
name: a.string().required(),

0 commit comments

Comments
 (0)