File tree Expand file tree Collapse file tree 15 files changed +554
-0
lines changed
pages/[platform]/build-a-backend/ai Expand file tree Collapse file tree 15 files changed +554
-0
lines changed Original file line number Diff line number Diff line change @@ -314,6 +314,56 @@ export const directory = {
314
314
}
315
315
]
316
316
} ,
317
+ {
318
+ path : 'src/pages/[platform]/build-a-backend/ai/index.mdx' ,
319
+ children : [
320
+ {
321
+ path : 'src/pages/[platform]/build-a-backend/ai/set-up-ai/index.mdx'
322
+ } ,
323
+ {
324
+ path : 'src/pages/[platform]/build-a-backend/ai/concepts/index.mdx' ,
325
+ children : [
326
+ {
327
+ path : 'src/pages/[platform]/build-a-backend/ai/concepts/prompting/index.mdx'
328
+ } ,
329
+ {
330
+ path : 'src/pages/[platform]/build-a-backend/ai/concepts/routes/index.mdx'
331
+ } ,
332
+ {
333
+ path : 'src/pages/[platform]/build-a-backend/ai/concepts/tools/index.mdx'
334
+ }
335
+ ]
336
+ } ,
337
+ {
338
+ path : 'src/pages/[platform]/build-a-backend/ai/connect-your-frontend/index.mdx' ,
339
+ children : [
340
+ {
341
+ path : 'src/pages/[platform]/build-a-backend/ai/connect-your-frontend/hooks/index.mdx'
342
+ } ,
343
+ {
344
+ path : 'src/pages/[platform]/build-a-backend/ai/connect-your-frontend/components/index.mdx'
345
+ }
346
+ ]
347
+ } ,
348
+ {
349
+ path : 'src/pages/[platform]/build-a-backend/ai/conversation/index.mdx' ,
350
+ children : [
351
+ {
352
+ path : 'src/pages/[platform]/build-a-backend/ai/conversation/RAG/index.mdx'
353
+ } ,
354
+ {
355
+ path : 'src/pages/[platform]/build-a-backend/ai/conversation/tool-use/index.mdx'
356
+ } ,
357
+ {
358
+ path : 'src/pages/[platform]/build-a-backend/ai/conversation/UI-responses/index.mdx'
359
+ }
360
+ ]
361
+ } ,
362
+ {
363
+ path : 'src/pages/[platform]/build-a-backend/ai/generation/index.mdx'
364
+ }
365
+ ]
366
+ } ,
317
367
{
318
368
path : 'src/pages/[platform]/build-a-backend/storage/index.mdx' ,
319
369
children : [
Original file line number Diff line number Diff line change
1
+ import { getCustomStaticPath } from " @/utils/getCustomStaticPath" ;
2
+
3
+ export const meta = {
4
+ title: " Concepts" ,
5
+ description:
6
+ " Learn about what Amplify AI provisions and get an overview about generative AI concepts and terminology." ,
7
+ platforms: [
8
+ " javascript" ,
9
+ " react-native" ,
10
+ " angular" ,
11
+ " nextjs" ,
12
+ " react" ,
13
+ " vue" ,
14
+ ],
15
+ };
16
+
17
+ export const getStaticPaths = async () => {
18
+ return getCustomStaticPath (meta .platforms );
19
+ };
20
+
21
+ export function getStaticProps(context ) {
22
+ return {
23
+ props: {
24
+ platform: context .params .platform ,
25
+ meta ,
26
+ },
27
+ };
28
+ }
Original file line number Diff line number Diff line change
1
+ import { getCustomStaticPath } from " @/utils/getCustomStaticPath" ;
2
+
3
+ export const meta = {
4
+ title: " Prompting" ,
5
+ description:
6
+ " Amplify AI Concepts: Prompting" ,
7
+ platforms: [
8
+ " javascript" ,
9
+ " react-native" ,
10
+ " angular" ,
11
+ " nextjs" ,
12
+ " react" ,
13
+ " vue" ,
14
+ ],
15
+ };
16
+
17
+ export const getStaticPaths = async () => {
18
+ return getCustomStaticPath (meta .platforms );
19
+ };
20
+
21
+ export function getStaticProps(context ) {
22
+ return {
23
+ props: {
24
+ platform: context .params .platform ,
25
+ meta ,
26
+ },
27
+ };
28
+ }
29
+
30
+
31
+ <Callout warning >
32
+
33
+ Amplify AI sections are under construction
34
+
35
+ </Callout >
36
+
37
+
38
+ ## Generation routes
39
+
40
+ ### How to customize generation route prompts
41
+
42
+
43
+ ## Conversation routes
44
+
45
+ ### How to customize conversation route prompts
Original file line number Diff line number Diff line change
1
+ import { getCustomStaticPath } from " @/utils/getCustomStaticPath" ;
2
+
3
+ export const meta = {
4
+ title: " Routes" ,
5
+ description:
6
+ " Amplify AI Concepts: Routing" ,
7
+ platforms: [
8
+ " javascript" ,
9
+ " react-native" ,
10
+ " angular" ,
11
+ " nextjs" ,
12
+ " react" ,
13
+ " vue" ,
14
+ ],
15
+ };
16
+
17
+ export const getStaticPaths = async () => {
18
+ return getCustomStaticPath (meta .platforms );
19
+ };
20
+
21
+ export function getStaticProps(context ) {
22
+ return {
23
+ props: {
24
+ platform: context .params .platform ,
25
+ meta ,
26
+ },
27
+ };
28
+ }
29
+
30
+ <Callout warning >
31
+
32
+ Amplify AI sections are under construction
33
+
34
+ </Callout >
Original file line number Diff line number Diff line change
1
+ import { getCustomStaticPath } from " @/utils/getCustomStaticPath" ;
2
+
3
+ export const meta = {
4
+ title: " Tools" ,
5
+ description:
6
+ " Amplify AI Concepts: Tool use" ,
7
+ platforms: [
8
+ " javascript" ,
9
+ " react-native" ,
10
+ " angular" ,
11
+ " nextjs" ,
12
+ " react" ,
13
+ " vue" ,
14
+ ],
15
+ };
16
+
17
+ export const getStaticPaths = async () => {
18
+ return getCustomStaticPath (meta .platforms );
19
+ };
20
+
21
+ export function getStaticProps(context ) {
22
+ return {
23
+ props: {
24
+ platform: context .params .platform ,
25
+ meta ,
26
+ },
27
+ };
28
+ }
29
+
30
+ <Callout warning >
31
+
32
+ Amplify AI sections are under construction
33
+
34
+ </Callout >
35
+
36
+
37
+ ## Tools as AppSync Queries
38
+
39
+
40
+ ## Connecting to AWS services
41
+
42
+
43
+ ## Connecting to external services
44
+
Original file line number Diff line number Diff line change
1
+ import { getCustomStaticPath } from " @/utils/getCustomStaticPath" ;
2
+
3
+ export const meta = {
4
+ title: " Components" ,
5
+ description:
6
+ " Amplify AI Frontend: Components" ,
7
+ platforms: [
8
+ " javascript" ,
9
+ " react-native" ,
10
+ " angular" ,
11
+ " nextjs" ,
12
+ " react" ,
13
+ " vue" ,
14
+ ],
15
+ };
16
+
17
+ export const getStaticPaths = async () => {
18
+ return getCustomStaticPath (meta .platforms );
19
+ };
20
+
21
+ export function getStaticProps(context ) {
22
+ return {
23
+ props: {
24
+ platform: context .params .platform ,
25
+ meta ,
26
+ },
27
+ };
28
+ }
29
+
30
+ <Callout warning >
31
+
32
+ Amplify AI sections are under construction
33
+
34
+ </Callout >
Original file line number Diff line number Diff line change
1
+ import { getCustomStaticPath } from " @/utils/getCustomStaticPath" ;
2
+
3
+ export const meta = {
4
+ title: " Hooks" ,
5
+ description:
6
+ " Amplify AI Frontend: Hooks" ,
7
+ platforms: [
8
+ " javascript" ,
9
+ " react-native" ,
10
+ " angular" ,
11
+ " nextjs" ,
12
+ " react" ,
13
+ " vue" ,
14
+ ],
15
+ };
16
+
17
+ export const getStaticPaths = async () => {
18
+ return getCustomStaticPath (meta .platforms );
19
+ };
20
+
21
+ export function getStaticProps(context ) {
22
+ return {
23
+ props: {
24
+ platform: context .params .platform ,
25
+ meta ,
26
+ },
27
+ };
28
+ }
29
+
30
+ <Callout warning >
31
+
32
+ Amplify AI sections are under construction
33
+
34
+ </Callout >
Original file line number Diff line number Diff line change
1
+ import { getCustomStaticPath } from " @/utils/getCustomStaticPath" ;
2
+
3
+ export const meta = {
4
+ title: " Connect your frontend" ,
5
+ description:
6
+ " Learn how to connect your frontend code to the Amplify AI backend." ,
7
+ platforms: [
8
+ " javascript" ,
9
+ " react-native" ,
10
+ " angular" ,
11
+ " nextjs" ,
12
+ " react" ,
13
+ " vue" ,
14
+ ],
15
+ };
16
+
17
+ export const getStaticPaths = async () => {
18
+ return getCustomStaticPath (meta .platforms );
19
+ };
20
+
21
+ export function getStaticProps(context ) {
22
+ return {
23
+ props: {
24
+ platform: context .params .platform ,
25
+ meta ,
26
+ },
27
+ };
28
+ }
Original file line number Diff line number Diff line change
1
+ import { getCustomStaticPath } from " @/utils/getCustomStaticPath" ;
2
+
3
+ export const meta = {
4
+ title: " Retrieval Augmented Generation" ,
5
+ description:
6
+ " Learn how to use Amazon AI" ,
7
+ platforms: [
8
+ " javascript" ,
9
+ " react-native" ,
10
+ " angular" ,
11
+ " nextjs" ,
12
+ " react" ,
13
+ " vue" ,
14
+ ],
15
+ };
16
+
17
+ export const getStaticPaths = async () => {
18
+ return getCustomStaticPath (meta .platforms );
19
+ };
20
+
21
+ export function getStaticProps(context ) {
22
+ return {
23
+ props: {
24
+ platform: context .params .platform ,
25
+ meta ,
26
+ },
27
+ };
28
+ }
29
+
30
+ <Callout warning >
31
+
32
+ Amplify AI sections are under construction
33
+
34
+ </Callout >
35
+
36
+
37
+ ## Retrieval Augmented Generation
38
+
39
+
40
+
41
+ ### Passing client-side context
42
+
43
+
44
+
45
+ ### Data query Tools
46
+
47
+
Original file line number Diff line number Diff line change
1
+ import { getCustomStaticPath } from " @/utils/getCustomStaticPath" ;
2
+
3
+ export const meta = {
4
+ title: " Conversation UI Responses" ,
5
+ description:
6
+ " Learn how to use Amazon AI" ,
7
+ platforms: [
8
+ " javascript" ,
9
+ " react-native" ,
10
+ " angular" ,
11
+ " nextjs" ,
12
+ " react" ,
13
+ " vue" ,
14
+ ],
15
+ };
16
+
17
+ export const getStaticPaths = async () => {
18
+ return getCustomStaticPath (meta .platforms );
19
+ };
20
+
21
+ export function getStaticProps(context ) {
22
+ return {
23
+ props: {
24
+ platform: context .params .platform ,
25
+ meta ,
26
+ },
27
+ };
28
+ }
29
+
30
+ <Callout warning >
31
+
32
+ Amplify AI sections are under construction
33
+
34
+ </Callout >
You can’t perform that action at this time.
0 commit comments