Skip to content

ottlseo/bedrock-ai-tutor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bedrock AI Tutor

Architecture
architecture
Business/Casual conversation recommendation Claude 3.0 model comparison
image image

image

Deploy Backend locally

  1. Enable Anthropic Claude v3 model access on the Amazon Bedrock console.
    ( How to add model access: Amazon Bedrock User Guide )

  2. Run the command below to install package and run apis locally.

    cd backend
    pip3 install -r requirements.txt 
    python3 controller.py
  3. Then your api server is available at http://localhost:8081

Deploy Frontend locally

  1. 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";
  2. Enter /frontend directory and Run command below.
    npm i
    npm run build
    
    cd src
    python3 -m http.server 7000
  3. Then your local app is available at http://localhost:7000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published