GithubHelp home page GithubHelp logo

xhw / bedrock-claude-codecoach Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aws-samples/bedrock-claude-codecoach

0.0 0.0 0.0 1.36 MB

License: MIT No Attribution

Shell 4.53% JavaScript 0.51% TypeScript 93.52% Dockerfile 1.44%

bedrock-claude-codecoach's Introduction

Bedrock Claude CodeCoach

中文版

This repository is a sample code coach(include code interpreter ) using the Anthropic company's LLM Claude 2, Mistral, two of the foundational models provided by Amazon Bedrock for generative AI. This sample is an innovative tool designed to assist developers in writing efficient and high-quality code .

Architecture

It's an architecture built on AWS managed services, eliminating the need for infrastructure management. Utilizing Amazon Bedrock, there's no need to communicate with APIs outside of AWS. This enables deploying scalable, reliable, and secure applications.

Demo

codecoach-demo.mp4

CodeCoach Vimeo link:

Model: Claude Instant, Claude2/2.1, Claude3 Connect, Mistral 7B, Mixtral 8x7B

prompteditor

Prompt Editor

prompteditor

Features and Roadmap

  • Authentication (Sign-up, Sign-in)

  • IAM Role support

  • Prompt Editor

  • Docker Image

  • Docker Compose deploy file

  • Export chat history

  • Syntax highlighting for code

  • Rendering of Markdown'

  • Streaming Response

  • Python runtime support

  • PHP runtime support

  • golang runtime support

  • "How to fix " support

  • CDN support

  • ECS support

  • Install script

  • Cloudfromation/ CDK deployment script

Deployment (Cloudformation)

  1. Option1. Create cloudformation statc use AWS CLI tools.

    #Replace <your_ec2_keypair> to your EC2 key pair.
    #Create Stack
    aws cloudformation create-stack --stack-name codecoach --template-body file://cf-template.yaml --parameters ParameterKey=SSHKeyName,ParameterValue=<your_ec2_keypair> --capabilities CAPABILITY_IAM
    
    #Check StackStatus , CREATE_COMPLETE
    aws cloudformation describe-stacks --stack-name codecoach --query "Stacks[0].StackStatus" --output text
    
    #Get CDN https url 
    aws cloudformation describe-stacks --stack-name codecoach --query "Stacks[0].Outputs[?OutputKey=='CloudFrontDomainName'].OutputValue" --output text
    
    
    
    
  2. Option2. Create cloudformation through web console

    Step1. click create stack and upload cf-template.yaml

    cf-step1

    cf-step2

    Step2. Setup parameter and Submit

    cf-step3

    cf-step4

    Step3. Found cloudfront URL

    cf-step5

  3. Access CodeCoach, default user [email protected]/123456!@#,please change your password when you first login!

    https://<CDN_URL>
    

    web

    password

Tips

Authors

bedrock-claude-codecoach's People

Contributors

stevensu1977 avatar dependabot[bot] avatar amazon-auto avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.