Carlo Van
Carlo Van
  • Видео 7
  • Просмотров 38 953
RAG with a UI in 10 Minutes
Build a RAG with a UI on AWS and host it for less than $1 / month.
I'll show you how to build RAG with a UI using AWS Bedrock, AWS Lambda and Streamlit to query your private data securely.
Source code:
github.com/thecarlo/rag-with-ui-streamlit-aws-bedrock
Add Authorization check to Lambda:
github.com/thecarlo/rag-with-ui-streamlit-aws-bedrock/blob/authorization/lambda-python/index.py
Blog post:
www.humankode.com/aws/build-a-rag-app-with-a-ui-and-private-data-on-aws/
00:00 - Introduction
02:14 - Create an S3 Bucket to Store Data
02:38 - Create a Pinecone Index to Store Vector Data
03:20 - Store API Key in AWS Secrets Manager
04:17 - Create an AWS Bedrock Knowledge Base
06:13 - Sync your data
06:19 - Que...
Просмотров: 369

Видео

Next.js 14: Build Optimistic UIs with useOptimistic and Server Actions
Просмотров 3,1 тыс.5 месяцев назад
How to build fast UIs with Next.js 14 that load optimistically. I show you, step by step, how to build optimistic UIs with the useOptimistic hook and Server Actions in Next.js 14 0:00 Optimistic UI vs Pessimistic UI 0:22 Todo App Overview 2:37 Next.js Server Action for Toggle Todo 4:03 Next.js Server Action for Create Todo 4:44 Next.js Server Action for Delete Todo 5:10 Optimistic UI updates wi...
Mock Axios with Jest in Typescript and React (in 2 minutes)
Просмотров 4,3 тыс.Год назад
Mock Axios with Jest, Typescript and React, in just 2 minutes. First, I'll show you how to mock Axios with Jest in any Typescript function, which could be Node, React or Angular. Then, I'll show you how to mock an async component in React with React Testing Library and Jest. I'll show you how you can use Jest's built-in mocking features to mock Axios in Javascript or Typescript, using either No...
React + Typescript + Vite in 40 Seconds
Просмотров 3,1 тыс.Год назад
Create a React App with Typescript and Vite in less than 40 seconds. I'll also show you how to create path aliases with React and Vite. #react #vite #typescript
Custom Validation with Zod
Просмотров 1,9 тыс.Год назад
How to do custom validation with Zod, a validation framework for Typescript and Javascript. I'll show you how to validate that Mongo Object Id's are valid, and how to do Async validation with Zod. Moreover, I'll show you how to use Zod's refine and superrefine methods. Timecodes: 00:00 Intro 00:57 - Validating a Mongo ObjectId with Zod 03:53 - Zod Custom Validation Function 07:52 - Async Valida...
Run Stable Diffusion on Google Colab For Free in 2 Minutes
Просмотров 26 тыс.Год назад
Run Stable Diffusion on Google Colab For Free in 2 Minutes. The easiest way to run Stable Diffusion is to run it for free on Google Colab. Stable Diffusion with Google Colab link on Huggingface repository: github.com/huggingface/notebooks/tree/main/diffusers Lexica.art: lexica.art Timecodes: 0:00 - Intro 0:06 - Huggingface repository 0:23 - Stable Diffusion link for Colab 0:32 - Google Colab ex...
Biggest Issues With THIS in Javascript (+ How to Fix Them)
Просмотров 276Год назад
The biggest issues with "this" in Javascript, and how to fix them. In this video, I'll give you 5 rules you can use to determine the value of "this" in any situation that Javascript will throw at you. And then I'll give you examples of typical issues caused by this in javascript and how to fix and avoid them. Timecodes: 0:00 - Intro 0:30 - This Rule 1: Global Context 1:03 - This Rule 2: Functio...

Комментарии

  • @limjuroy7078
    @limjuroy7078 2 месяца назад

    Interesting tutorial! Thanks

  • @crypto_hodler6948
    @crypto_hodler6948 2 месяца назад

    Nice brother 🎉👍🏼 well explained for novices like myself

  • @mindexpandingknowledge409
    @mindexpandingknowledge409 3 месяца назад

    Not working, I can't get passed running Import Torch. I get AttributeError: module 'jax.random' has no attribute 'KeyArray'

  • @kovs-game
    @kovs-game 4 месяца назад

    best explanation on use optimistic by far ! thanks very much for your example it really helps to understand the concept.

  • @veyestse6626
    @veyestse6626 5 месяцев назад

    there is an error on import torch from diffusers and also the astronaut rendering part too. I have already subscribed to the plan and it still happens. Can anyone help me out here

  • @edhahaz
    @edhahaz 5 месяцев назад

    "use server" is for server actions so why are you adding it to whole components ?

    • @carlovan
      @carlovan 5 месяцев назад

      'use server' can be used to specify that a component is a server component, and for server actions. don't confuse server components with server actions

    • @Innesb
      @Innesb 4 месяца назад

      It ensures that a server component never runs on the client.

  • @BenZekriNBENZ
    @BenZekriNBENZ 5 месяцев назад

    Good examples thank you so much,, but for the delay you added of 500ms is just for test right?

    • @carlovan
      @carlovan 5 месяцев назад

      Yes, correct

  • @Jaydeeeeeeep
    @Jaydeeeeeeep 5 месяцев назад

    I have tried, still getting 2 console logs

  • @venzkie89
    @venzkie89 5 месяцев назад

    Thanks for this amazing tutorial.

  • @jostasizzi818
    @jostasizzi818 5 месяцев назад

    Thanks for the tutorial this is amazing

  • @joshuan.
    @joshuan. 8 месяцев назад

    The tutorial is easy to understand and get running, but the images I generate using the same prompts are nowhere close to what I'm seeing on Lexica Art. This feels like a small step up from Craiyon.

  • @holup5035
    @holup5035 9 месяцев назад

    Nice, thank you!

  • @Skvdev
    @Skvdev 10 месяцев назад

    Cool. Thakx, dude!)

  • @aminnairidev
    @aminnairidev 11 месяцев назад

    Well done, your way of teaching things is super organised, I'm a teacher and I can say it very informative video! I'm agreeing with you, and should behave like an and 😂 I've made a similar library for validating stuff that is analogous to zod but with pure functions and functional programming in mind and I came to get inspiration here. Thank you again!

  • @user-zq2qd4bo7d
    @user-zq2qd4bo7d Год назад

    thanks, for some reason I had a really hard time findin a sd colab. this helped me succeed.

  • @tomekk3569
    @tomekk3569 Год назад

    That was helpful. Thank you! :)

  • @hussaina.4720
    @hussaina.4720 Год назад

    This is great, keep it up :). Just a suggestion to use absolute paths everywhere in the project, it's more error prone to mock and maintain relative paths

    • @carlovan
      @carlovan Год назад

      I usually use aliased paths, but since this was a 2 minute tutorial with no complexity, and to keep things short and focussed, there's no need for aliased paths.

  • @purushothamguda7360
    @purushothamguda7360 Год назад

    my scenario - I did not export any get functions in my code so in that case how will I test.? please help!

    • @carlovan
      @carlovan Год назад

      You'll have to export your function to test it

  • @沢渡雫我老婆
    @沢渡雫我老婆 Год назад

    great work!

  • @snozking
    @snozking Год назад

    any way to change the model?

  • @levipromovies
    @levipromovies Год назад

    what are the negatives of using colab to run sd as opposed to running it locally? I'm looking for other options as running sd locally makes it very slow (my hardware is not really up to date). Do I have all of the same options to me available as if I were using sd locally? If so, I'd be prepared to pay for colab pro if needed.

  • @attilabarat7278
    @attilabarat7278 Год назад

    Hey! How can I use different models by running S. D. on Colab? Is there a solution for this?

  • @fernandodiaz8231
    @fernandodiaz8231 Год назад

    The explanation you gave on how to run Stable Diffusion was very clear and practical. For this modality of working Stable Diffusion in Google Collab, how can PROMPT negatives be inserted?

  • @kkliang8327
    @kkliang8327 Год назад

    if it's possible to provide a link to generate the image ? if its not very friendly for the commonly user to use script to generate it ?

  • @FightNight2012
    @FightNight2012 Год назад

    Great Video! Very Helpful!!! Thanks, A lot!!

  • @TaigiTWeseFormosanDiplomat
    @TaigiTWeseFormosanDiplomat Год назад

    :))

  • @michelelamoureux2184
    @michelelamoureux2184 Год назад

    awesome thank you!!

  • @brei2670
    @brei2670 Год назад

    I've tried it before and never could get it to work. Seemed like I wasn't getting enough "for free" resources to actually do anything with it. Then again, I think I was trying one with a web GUI. I might give it another try.

  • @zackxmagz6343
    @zackxmagz6343 Год назад

    wait what if I want to use img2img or video input?

    • @exnozgaming5657
      @exnozgaming5657 Год назад

      better run automatic 1111 in collab with stable diffusion models

  • @nomorejustice
    @nomorejustice Год назад

    nice tutor, to the point and easy

  • @sushilpotdar5371
    @sushilpotdar5371 Год назад

    super sir!!!

  • @kelvinchuks8885
    @kelvinchuks8885 Год назад

    cool! best tut so far

  • @ChrisRich
    @ChrisRich Год назад

    Thanks for sharing Carlo. I avoid using `this` whenever I can. In Node.js it's all functional these days, rarely see anybody using a class based design (with a few exceptions). And in React we're using functional components over classes. So less of `this`

  • @aldrinmojica
    @aldrinmojica Год назад

    First!