🆕 Bedrock Agents and Knowledge bases from a developer perspective with Demo!

Поділитися
Вставка
  • Опубліковано 2 січ 2025

КОМЕНТАРІ •

  • @ClaudioKerekes
    @ClaudioKerekes 27 днів тому

    If I have a SaaS platform where each account can have a file (PDF, Excel, DOC, etc.) as a knowledge base, the question is: do we need a separate model for each user, or should we train a single model with the knowledge and use context to distinguish and split the information between accounts?

  • @merebhayl5826
    @merebhayl5826 6 місяців тому +1

    Lovely! The best video on Bedrock for new people I encountered. Thank you!

  • @micuentadecasa
    @micuentadecasa Місяць тому

    Really great video, how we add postprocessing for example to send telemetry to Langfuse?

  • @mrtomcat91604
    @mrtomcat91604 8 місяців тому +2

    Great overview as usual, Thank you! Please create a video on how to deploy these via SAM

  • @java3950
    @java3950 3 місяці тому

    Hello there, i need help of how to write the Lambda function, I tried to upload the zip from your shared github but getting error "Access denied when calling Bedrock. Check your request permissions and retry the request." when trying to access the agent.

  • @MarianaPaivaMari
    @MarianaPaivaMari 5 місяців тому

    I still have a question. Is it possible to create, for example, 3 knowledge bases and point it for the same instance?

  • @fabiengaubert8771
    @fabiengaubert8771 9 місяців тому +2

    Thanks for this wonderful explaination

  • @Luigi19862010
    @Luigi19862010 2 місяці тому

    Awesome video! That really helped me out and explained how Bedrock works.

  • @AnaPerez-lw5ke
    @AnaPerez-lw5ke 7 місяців тому

    Very helpful, thanks!
    However, I have a little question... In the last part of the video you say that it is possible to overide de prompt with the decisions and actions the agent is taken. What it is that for? Maybe is it possible to do reinforcement learning of the model that way, by modifying this trace?

  • @hafc86
    @hafc86 11 місяців тому +2

    Amazing video! Can you please show more about knowledge bases and agents, how to keep the knowledge base updated when information is constantly changing in a database.

    • @foobar_codes
      @foobar_codes  11 місяців тому +1

      Noted 🔥

    • @ameenasif
      @ameenasif 2 місяці тому

      @@foobar_codes for knowledge base , when information is relatively static like company policy documents, and other repo. we should use Knnowlede bases , when we need dynamic infor or real time info we use agents exactly what this demo was about . i.e the way you saw calling an api for weather we can also use lambda to call internal webservice that gets data from database using the same mecchanism as shown . when the pdfs of policy change we need to update the knowledge base this could be from s3 event trigger i.e in PUT or UPDATE this trigger can firre a compute that can call update Knowledge base ( stepfunctions, lambda, pipelines etc ) whatever works best for you

  • @-SANJAIMI
    @-SANJAIMI 5 місяців тому +1

    Hello Ma'am!!! 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

    • @leandros3712
      @leandros3712 4 місяці тому

      Try adding for the IAM User all aoss policies for the OpenSearch Serverless service. This worked for me. (Sorry my english)

    • @-SANJAIMI
      @-SANJAIMI 4 місяці тому

      @@leandros3712 hey I did it and it worked. Thanks 😄!!! btw i don't know why it showed CORS error. Anyways thank you !!!
      Is there any chance for me to contact you. since I'm being a beginner in the learning, sharing the knowledge would be vital for my progress !!! pardon my english 😅

    • @shawn.builds
      @shawn.builds 2 місяці тому

      have this same isseu!

  • @paolamassonnier3689
    @paolamassonnier3689 6 місяців тому

    Hi! Thanks for this video, You rock. I’m having trouble setting up the role with proper policies to create a KB, how did you do this?

  • @NikitaThombre-w4c
    @NikitaThombre-w4c 5 місяців тому

    can you help me with agents in amazon bedrock for devops tasks? how to implement that?

  • @josemaxbarrios3872
    @josemaxbarrios3872 7 місяців тому

    Hello What about the pricing of Knowledge Base?

  • @hey121e3
    @hey121e3 6 місяців тому

    please can you do a video of integrating the chatbot on your website? I want my customers to be able to see the chatbot when they click on my website, so that they can ask it questions about my product

  • @SivaChidambaram15
    @SivaChidambaram15 10 місяців тому +3

    How can I deploy it in my website?

  • @elenaromanova2841
    @elenaromanova2841 11 місяців тому +1

    Great explanation! Thank you!

  • @CZar_82
    @CZar_82 5 місяців тому

    Is it possible to optimize the cost for the OpenSearch service by using AWS Bedrock Agents? Following this example, a charge of approximately USD $6 per day is incurred, which amounts to nearly USD $180 per month without using the agent 😢

    • @cristianhoger
      @cristianhoger 5 місяців тому

      For playing around you can use Pinecone, it has even a free tier.

  • @skinwalker_
    @skinwalker_ 10 місяців тому

    That was brilliant and helped me so much! A big thank you...

  • @joshthornes7166
    @joshthornes7166 11 місяців тому

    great video. can you have next the video on the client side using this like you talked about in the end of your video

  • @jasonsalcido108
    @jasonsalcido108 11 місяців тому +1

    Great video! Thank you! 😁

  • @LarryHale-x3v
    @LarryHale-x3v 11 місяців тому

    Your CSV data source rows have city names followed by latitude & longitude in different spreadsheet columns. Question: HOW does the model know it was a CSV file and HOW did you teach (or WHAT taught) the model where the lat+lon values for a city were?
    IOW: WHAT part of AWS understands that the imported S3 object to be a CSV file that further understands some relation of the spreadsheet's city column and the spherical point mapping columns? Is this accomplished by first row titles on this spreadsheet ?

    • @LarryHale-x3v
      @LarryHale-x3v 10 місяців тому +1

      More Debugging: THIS DEMO DOES NOT WORK on my Bedrock when testing the knowledge base (encoded with Titan text v2 - just like she did) consisting of the same exact worldcities.csv spreadsheet and choosing Anthropic for the model - just like she did. It is NOT finding a lot of the cities in the spreadsheet.
      Furthermore, the worldcities.csv has lat/long for Montevideo as -34.8836 / -56.1819 , not -34.7667 / -56.3806, which is actually Ciudad del Plata in Uruguay. Since the temperature and Top-P / Top-K can't be adjusted for testing , I'm not sure if it's a small hallucination or just WRONG.

    • @ameenasif
      @ameenasif 2 місяці тому

      @@LarryHale-x3v yo can use some of prompt engineering techniques , try adding an example giving one row and show how you expect to parse , and give specific instructions like say I cannot find the city if it is not in the datset etc , next the data needs to be in the csv in first place , note she used public data set which was free , but also had other paid data sets that has lot more cities populated for production you would use data set that has all the information .

  • @CabbageYe
    @CabbageYe 8 місяців тому

    Thanks for the explanation 🙏

  • @channel_panel193
    @channel_panel193 9 місяців тому +1

    i hate AWS Lex. It's horrible