Architecture |
---|
Business/Casual conversation recommendation | Claude 3.0 model comparison |
---|---|
-
Enable Anthropic Claude v3 model access on the Amazon Bedrock console.
( How to add model access: Amazon Bedrock User Guide ) -
Run the command below to install package and run apis locally.
cd backend pip3 install -r requirements.txt python3 controller.py
-
Then your api server is available at
http://localhost:8081
- Add
cred.js
file in/frontend/src/libs
directory.export const REGION = "ENTER_YOUR_REGION"; export const AWS_ACCESS_KEY_ID = "ENTER_YOUR_KEY"; export const AWS_SECRET_ACCESS_KEY = "ENTER_YOUR_KEY"; export const API_URL = "http://localhost:8081";
- Enter
/frontend
directory and Run command below.npm i npm run build cd src python3 -m http.server 7000
- Then your local app is available at
http://localhost:7000