We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d345483 commit 444b1b2Copy full SHA for 444b1b2
src/pages/[platform]/ai/generation/data-extraction/index.mdx
@@ -87,9 +87,9 @@ Example response:
87
<InlineFilter filters={['react','react-native','next-js']}>
88
89
```ts title="React Hook"
90
+import type { Schema } from "../amplify/data/resource";
91
import { generateClient } from "aws-amplify/api";
92
import { createAIHooks } from "@aws-amplify/ui-react-ai";
-import { Schema } from "../amplify/data/resource";
93
94
const client = generateClient<Schema>({ authMode: "userPool" });
95
const { useAIGeneration } = createAIHooks(client);
0 commit comments