Amazon Bedrock Knowledge Bases : Build e-Learning App- Knowledge Base, AWS Lambda, API GW, Claude FM

Sdílet
Vložit
  • čas přidán 13. 09. 2024

Komentáře • 35

  • @trisalrahul
    @trisalrahul  Před 4 měsíci

    This video is part of my Best Selling Udemy Course on Amazon Bedrock and Generative AI - www.udemy.com/course/amazon-bedrock-aws-generative-ai-beginner-to-advanced/?referralCode=A02153572B8864F928E7&couponCode=NVDPRODIN35

  • @CZar_82
    @CZar_82 Před 2 měsíci +2

    It is possible to optimize the costs of OpenSearch in a development environment. Implementing this example incurs a charge of approximately USD$6 daily, which amounts to around USD$180 per month, regardless of whether the agent is being used or not. Can the service be shut down without deleting the collection? Or what alternatives exist to optimize costs?

    • @ricardocantillo2042
      @ricardocantillo2042 Před 2 měsíci +1

      I lowered the size of the resources in the collection created in Opensearch, lower but still expensive.

    • @trisalrahul
      @trisalrahul  Před měsícem

      Thanks for watching my video...Please try other pinecone and others...they seem to be cheaper alternatives comapred to opensearch...

  • @adarsh8685
    @adarsh8685 Před měsícem +1

    Thanks for this great demo. Could you please share some insights regarding costing for the services used from knowledge base excluding gateway, lambda and S3?

    • @trisalrahul
      @trisalrahul  Před měsícem

      KnowledgeBase, though AWS calls it a serverless service but it is not...Its a per hour cost and every hour cost will be approximately $1 irrespective whether you use it or not and the cost mainly comes from openSearch vector store...Please be careful while using KnowledgeBases while using it from cost perspective...When you delete the KnowledgeBase, you also need to separately delete OpenSearch vector store by going to opensearch service....

  • @catharsis222
    @catharsis222 Před měsícem +1

    Question? This guy made some AI thats hyperbrilliant on communicating with other people, and not as good on other things. That’s kind of what I’m looking for (for another specialization). Is this the way of achieving this? Is this creating the savant AIs

  • @jisubehera7670
    @jisubehera7670 Před 6 měsíci +3

    Could you please explain AWS lambda part after knowledge base and how this app will run AWS or local, please explain detail

    • @trisalrahul
      @trisalrahul  Před 5 měsíci

      Hi Jisu - I will try...In the meantime you can check out the detailed use case implementation including AWS Lambda code from Udemy Course on Bedrock and GenAI - www.udemy.com/course/amazon-bedrock-aws-generative-ai-beginner-to-advanced/?referralCode=A02153572B8864F928E7&couponCode=NVDPRODIN35

    • @0101_AI
      @0101_AI Před 4 měsíci

      I believe in lambda part, Rahul is showing how RAG or knowledge base model can be called from API call. Lambda function in the video was to call knowledge base , that's all to test knowledge base bot.

  • @Akashbadal978
    @Akashbadal978 Před 6 dny +1

    There is error with using another model except claude. Does AWS allows to integrate knowledge base with other LLMs ?

    • @trisalrahul
      @trisalrahul  Před 6 dny

      It only supports claude at the moment

    • @Akashbadal978
      @Akashbadal978 Před 5 dny +1

      @@trisalrahul Thanks Rahul sir... And for claude , AWS requires company details and usecase... Can't we do it without it ?

    • @trisalrahul
      @trisalrahul  Před 5 dny

      @Akashbadal978 - You can mention you are doing a poc for personal use. It’s just for Anthropic, makers of Claude llm to learn how their model is being used…shouldn’t be a problem

  • @neerajchouksey3761
    @neerajchouksey3761 Před 5 měsíci +1

    Thanks for your video and udemy tutorial. I have question on AWS Bedrock knowledge base , If new PDF files is added in source s3 location does it automatically perform embedding automatically or we have to sync again.

    • @trisalrahul
      @trisalrahul  Před 4 měsíci

      Good question Neeraj...You will have to do a sync for any new documents added....

  • @alex_law_codes
    @alex_law_codes Před 5 měsíci +1

    Hello can you expand on the sessionID portion of the request syntax for retrieveAndGenerate API? The documentation doesn't explain sessionIDs. Thank you!

    • @trisalrahul
      @trisalrahul  Před 5 měsíci

      Hi Alex, session id is used if you want to create a chatbot, so that entire previous conversation is used as part of context window…

  • @ommakh
    @ommakh Před 5 měsíci +1

    I am your 1000 subscriber

    • @trisalrahul
      @trisalrahul  Před 5 měsíci

      Awesome…thank you 👍🏻👍🏻

  • @0cano
    @0cano Před 4 měsíci +1

    Great tutorial, just subbed… one question about on cost, if the solution includes opensearch serverless, why is there hourly cost related to this?

    • @trisalrahul
      @trisalrahul  Před 4 měsíci +1

      Great question… it is Serverless service, so there should be no per hour cost but unfortunately there is. Will need to research as to why…will research n update here

  • @rocktheworld1596
    @rocktheworld1596 Před 6 měsíci +2

    Thank you ❤

  • @user-tl1gu2me9j
    @user-tl1gu2me9j Před 4 měsíci +1

    Helpful video!
    One issue I am facing using retrieveAndGenerate API is that the cited references is not coming even though the output answer is coming in the response.
    Any idea whats the issue?

    • @trisalrahul
      @trisalrahul  Před 4 měsíci

      Hi, Does the raw response show citation...maybe you have incorrectly retrieved dictionary response...

    • @user-tl1gu2me9j
      @user-tl1gu2me9j Před 4 měsíci

      @@trisalrahul Response json consist citations also as per the retrieve and generate API documentation.

  • @prashant2329
    @prashant2329 Před 5 měsíci +1

    Hey Rahul, nice step by step tutorial helps getting overall idea. I have a question though - what happens if I ask a question for which no related data is present on configured S3 data source?
    So, let's say if I ask "Who is Michael Jackson?" - will it know the answer?
    I am trying to understand by default what data is it already trained on apart from what we provide from the s3 data source?

    • @trisalrahul
      @trisalrahul  Před 5 měsíci +1

      Good question Prashant...Bedrock Knowledge Bases provides contextual information but the answer is actually provided by the Claude Foundation Model (or LLM) in this use case...So, if it gets a context from KnowledgeBases, it will use it to augment the answer, if it doesnot find any context, it will still try and answer based on its training data and Micheal Jackson is a very common question...so it will be able to answer it ...

    • @saliltari1061
      @saliltari1061 Před 4 měsíci +2

      In this scenario, is it possible to configure the model in a way that it doesn’t respond to questions that has context which is not present in the uploaded files?

  • @-SANJAIMI
    @-SANJAIMI Před měsícem +1

    hello sir!!! I have a issue in creating the knowledge base. When I create it shows failed to create open search serverless collection.eventhough I gave the full access access for bedrock and opensearch service for the user and made the s3 bucket to be accessed by the opensearch service, the issues is not fixed. can you help me to clear that issue? I'm struggling with that issue !!! please help me

    • @trisalrahul
      @trisalrahul  Před měsícem

      Let Knowledge Bases create the IAM Service Role please…

    • @-SANJAIMI
      @-SANJAIMI Před měsícem

      @@trisalrahul I even tried that. It doesn't work !!!

  • @priyaketankanere5188
    @priyaketankanere5188 Před 5 měsíci +1

    can you provide the codes?

    • @trisalrahul
      @trisalrahul  Před 5 měsíci +1

      @trisalrahul
      0 seconds ago
      Hi - I will try and upload the code...In the meantime you can check out the detailed use case implementation including AWS Lambda code from Udemy Course on Bedrock and GenAI - www.udemy.com/course/amazon-bedrock-aws-generative-ai-beginner-to-advanced/?referralCode=A02153572B8864F928E7&couponCode=NVDPRODIN35