Coder Social home page Coder Social logo

aws-samples / serverless-rag-demo Goto Github PK

View Code? Open in Web Editor NEW
102.0 9.0 29.0 96.42 MB

Amazon Bedrock Anthropic Claude, (Llama2-7B/13B/70B /Falcon-7B/40B/180B on Amazon Sagemaker) LLMs with Amazon Opensearch Serverless as a Vector DB

Home Page: https://aws.amazon.com/blogs/big-data/build-scalable-and-serverless-rag-workflows-with-a-vector-engine-for-amazon-opensearch-serverless-and-amazon-bedrock-claude-models/

License: MIT No Attribution

Python 57.34% HTML 37.57% Dockerfile 0.20% Shell 4.71% Batchfile 0.19%
llama2 llms opensearch rag opensearchserverless anthropic claude haiku sonnet

serverless-rag-demo's Issues

Updating the code (question not issue...)

Hello,

I am working with this awesome project and I have everything working from the base image, great work I love it!

I am however wondering if the only current way to update the html page is to make the updates and then re-run creator.sh. I don't see any other mentions of updating the scripts and I am new-ish to code build so I am not sure if there is a better route to take?

I have tried this route and in codebuild, it says the build was successful but I do not see any html changes, now this could be due to errors in the deployment so I have been checking those.

Thank you for any support!

Getting ErrorMessage when trying Cloud-3-sonnet model

getting this error

"{"success":false,"errorMessage":"Exception occured when querying LLM: An error occurred (validationException) when calling the InvokeModelWithResponseStream operation: "claude-3-sonnet-20240229" is not supported on this API. Please use the Messages API instead.","statusCode":"400"}"

Unknown service : bedrock-runtime

Hello,
This is a great project. This was really helpful. I was able to create run this locally. But, creating the docker container is giving me a unknown service error : it is not able to find bedrock-runtime. It would be great if you can help me with this.

Feature: Integrate Mistral AI Models into Serverless RAG Demo

With Bedrock's upcoming support for Mistral AI models, we have an opportunity to integrate these models into our serverless-rag-demo project. This integration would enable Retrieve and Generate (RAG) functionality over Mistral's AI capabilities. Given Mistral's strengths in summarization and text generation, adding its models to our project could significantly enhance the RAG experience and open up new use cases.
By leveraging Bedrock's serverless architecture, we can plug the Mistral models into our demo with minimal effort

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.