Skip to content

Commit 1892b12

Browse files
authored
Updates to set up ai page (#8097)
1 parent 2cc1a0a commit 1892b12

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/pages/[platform]/ai/set-up-ai/index.mdx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ Before you begin, you will need:
4747

4848
You will also need an AWS account that is [setup for local development](/[platform]/start/account-setup) and has access to the Bedrock Foundation Model(s) you want to use. You can request access to Bedrock models by going in to the [Bedrock console and requesting access](https://console.aws.amazon.com/bedrock/home#/modelaccess).
4949

50+
<Callout>
51+
52+
Running inference on large language models (LLMs) can be costly. Amazon Bedrock is a serverless service so you only pay for what you use, but be mindful of the costs associated with building generative AI applications. [See Bedrock pricing for more information](https://aws.amazon.com/bedrock/pricing/).
53+
54+
</Callout>
55+
5056
## Create an Amplify backend
5157

5258
Run the create amplify script in your project directory:
@@ -107,6 +113,12 @@ const schema = a.schema({
107113
});
108114
```
109115

116+
<Callout>
117+
118+
Conversation routes currently ONLY support owner-based authorization and generation routes ONLY support non-owner-based authorization (`authenticated`, `guest`, `group`, `publicApiKey`).
119+
120+
</Callout>
121+
110122
If you have the Amplify sandbox running, when you save this file it will pick up the changes and redeploy the necessary resources for you.
111123

112124
## Connect your frontend
@@ -180,6 +192,7 @@ Call `Amplify.configure()` with the **amplify_outputs.json** file where the Reac
180192

181193
```tsx title="src/main.tsx"
182194
import { Amplify } from 'aws-amplify';
195+
import '@aws-amplify/ui-react/styles.css';
183196
import outputs from '../amplify_outputs.json';
184197

185198
Amplify.configure(outputs);

0 commit comments

Comments
 (0)