GitXplorerGitXplorer
J

llamaindex_chat_assistant_aws

public
3 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
b485c54d55ddcef435adc6fedb86b71566327a7b

fix image render

JJINO-ROHIT committed 5 months ago
Unverified
73ca41bc372f09a462ff39988b205227c5cc3fcc

update readme with steps

JJINO-ROHIT committed 5 months ago
Unverified
091b53fba612ea0fd69843237f090b45d2d91506

finishing up

JJINO-ROHIT committed 5 months ago
Unverified
719818ea4271ba73e83fea41ffaffda205dcb573

scaffolding lamnda handler py

JJINO-ROHIT committed 5 months ago
Verified
351023afb7f5478d85d1d243b5feaccffac4e2a0

Update README.md

JJINO-ROHIT committed 5 months ago
Verified
ce1065bea5f432f545bf1d74538c525ce10462a6

Initial commit

JJINO-ROHIT committed 5 months ago

README

The README file for this repository.

Llamaindex Chat Assistant with Bedrock, ECR, API Gateway and Lambda

aws

This project shows how to deploy a llamaindex chat assistant on AWS.

flow_diagram

  1. Create a repository on AWS ECR

    aws ecr create-repository --repository-name llamaindex_chatassistant
  2. Build the Docker Image

    docker build -t my-llamaindex-chat-assistant-image .
  3. Authenticate Docker with AWS ECR

    Authenticate your Docker CLI to the Amazon ECR registry where your repository is located. Replace [region_name] and [account_id] with your actual AWS region and account ID.

    aws ecr get-login-password --region [region_name] | docker login --username AWS --password-stdin [account_id].dkr.ecr.[region_name].amazonaws.com
  4. Tag the Docker Image

    Tag your Docker image so that it can be pushed to the ECR repository. Replace [region_name] and [account_id] with your AWS region and account ID.

    docker tag my-llamaindex-chat-assistant-image:latest [account_id].dkr.ecr.[region_name].amazonaws.com/llamaindex_chatassistant:latest
  5. Push the Docker Image to ECR

    Finally, push the tagged image to your ECR repository:

    docker push [account_id].dkr.ecr.[region_name].amazonaws.com/llamaindex_chatassistant:latest
  6. Create the lambda function on the console and define your own event and test it!