Skip to content

Commit

Permalink
Update src/pages/[platform]/ai/generation/data-extraction/index.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: josef <[email protected]>
  • Loading branch information
atierian and josefaidt authored Nov 20, 2024
1 parent 444b1b2 commit 54d6ddd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Data extraction allows you to parse unstructured text and extract structured dat

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.

```typescript title="Schema Definition"
```typescript title="amplify/data/resource.ts"
const schema = a.schema({
ProductDetails: a.customType({
name: a.string().required(),
Expand Down

0 comments on commit 54d6ddd

Please sign in to comment.