- 61
- 147 685
Computing Power
เข้าร่วมเมื่อ 14 มี.ค. 2021
Here you will learn about Software Engineering and Software Architecture!
The more you learn, the better you become, and the more value you can provide!
The more you learn, the better you become, and the more value you can provide!
Analyze Excel and CSV files using AI Voice Assistant
In this video, we're going to update our AI voice assistant project to handle CSV and Excel files using Claude 3 model from Anthropic in a Python FastAPI + React NextJS project
Libraries installed (Backend):
- anthropic pypi.org/project/anthropic/
- pandas pypi.org/project/pandas/
- openpyxl pypi.org/project/openpyxl/
Libraries installed (Frontend)
- React material ui: mui.com/material-ui/?srsltid=AfmBOoof0Um8FToNCvelJPp9uVU_0ZhnVw-uOUIwWdI_zYY_lU9zkc7_
Claude API: www.anthropic.com/api
Codebase: github.com/Mpcsj-Computing/ai-voice-assistant/tree/feat/claude3-and-excel-files , branch: claude3-and-excel-files
00:00 - Introduction
00:15 - Demonstration
01:16 - Project diagram
03:15 - Anthropic (Claude 3) API key setup
03:50 - Codebase and its changes
13:48 - Observations + conclusion
Libraries installed (Backend):
- anthropic pypi.org/project/anthropic/
- pandas pypi.org/project/pandas/
- openpyxl pypi.org/project/openpyxl/
Libraries installed (Frontend)
- React material ui: mui.com/material-ui/?srsltid=AfmBOoof0Um8FToNCvelJPp9uVU_0ZhnVw-uOUIwWdI_zYY_lU9zkc7_
Claude API: www.anthropic.com/api
Codebase: github.com/Mpcsj-Computing/ai-voice-assistant/tree/feat/claude3-and-excel-files , branch: claude3-and-excel-files
00:00 - Introduction
00:15 - Demonstration
01:16 - Project diagram
03:15 - Anthropic (Claude 3) API key setup
03:50 - Codebase and its changes
13:48 - Observations + conclusion
มุมมอง: 88
วีดีโอ
Rest API using Llama3 and Python Flask
มุมมอง 11828 วันที่ผ่านมา
In this video, we're going to build a REST API using Llama3 via AWS Bedrock and Python Flask 00:00 - Introduction 01:09 - AI roadmap 01:38 - Setup Llama3 Aws Bedrock 04:02 - Setup Python Flask code 28:20 - Test project 30: 46 - Conclusion
Rest API using NestJS and Gemini
มุมมอง 224หลายเดือนก่อน
In this video, we are going to create a REST API using NestJS(NodeJS framework) and Google's Gemini In our API, we will be able to communicate with the API model as a chat interface, also being able to handle multiple chat sessions using different chat session ids 00:00 - Introduction 00:54 - Create Gemini's API Key 01:38 - Create code 14:26 - Test project 16:55 - Conclusion Observations 17:16 ...
Ways to make your system faster
มุมมอง 782 หลายเดือนก่อน
In this video, we're going to discuss some strategies to make your software and the system as a whole faster ⚡️. We will explore some algorithms/data structure concepts and arquitecture-level optimizations to improve a system. We will also talk about the concept of profiling to find what needs to be optimized 00:00 - Introduction 00:55 - Profiling 01:58 - Algorithms data structures 02:52 - Spli...
Deploy NestJS to ECS + CI/CD with GIthub
มุมมอง 2.2K4 หลายเดือนก่อน
In this video, we're going to deploy a NestJS (NodeJS) project to AWS ECS with a custom domain HTTPS. We're also going to setup CI/CD for it using Github Actions to automate deployment whenever we make changes to the project. - Stable difusion API: platform.stability.ai/docs/api-reference#tag/Generate/paths/~1v2beta~1stable-image~1generate~1ultra/post Github project: github.com/Mpcsj-Computing/...
Top Lessons from CrowdStrike HUGE CRASH
มุมมอง 956 หลายเดือนก่อน
In this video, we're going to discuss three lessons we Software Engineers, can learn from CrowdStrike event, that caused many Windows machines in the entire world to collapse, stop working and block many giant corporations to operate The last lesson is the most important
I/OBound vs CPU Bound Code
มุมมอง 1846 หลายเดือนก่อน
In this video, we're going to talk about I/O Bound vs CPU Bound code, how to identity them and what defines each type of algorithm and some examples
Vertical vs horizontal vs Diagonal scaling on AWS
มุมมอง 2016 หลายเดือนก่อน
In this video, we're going to see what the difference is between vertical scaling, horizontal scaling, and diagonal scaling and how to apply these concepts on AWS ElasticBeanstalk. 0:00 - Introduction 0:18 - Theory and concepts 4:30 - Application on AWS ElasticBeanstalk 9:40 Conclusion
How to get a job as software engineer
มุมมอง 6597 หลายเดือนก่อน
If you are looking to get started as a software Engineer and get a job, in this video, I'm going to share my story on how I started my career and some lessons I learned to land jobs and continue to evolve. Some lessons were fundamental to allow me to evolve, get into more impactful projects, and thrive 0:00 - Introduction 0:40 - My journey in software 4:18 - Summarize tips 6:25 - Conclusion
Save LLM ChatHistory using NodeJS + MySQL
มุมมอง 3719 หลายเดือนก่อน
Save LLM ChatHistory using NodeJS MySQL
CI/CD using Github + Github Actions + AWS Lambda
มุมมอง 3.8K11 หลายเดือนก่อน
CI/CD using Github Github Actions AWS Lambda
Handle Multiple users with AI voice Assistant
มุมมอง 278ปีที่แล้ว
Handle Multiple users with AI voice Assistant
RestAPI with NestJS and StableDiffusion AI model
มุมมอง 405ปีที่แล้ว
RestAPI with NestJS and StableDiffusion AI model
Integrate Lambda functions with S3 buckets
มุมมอง 1.2Kปีที่แล้ว
Integrate Lambda functions with S3 buckets
Save money on AWS S3 with Lifecycle Rules
มุมมอง 109ปีที่แล้ว
Save money on AWS S3 with Lifecycle Rules
NestJS and RabbitMQ for Long-Running tasks
มุมมอง 2.6Kปีที่แล้ว
NestJS and RabbitMQ for Long-Running tasks
isn’t openAI api an environment variable for this application? why was there no .env config?
Hello, yes the OpenAI environment variable was in the .env file which was baked directly in the docker image (which is not recommended) The correct way to do it is by passing it as an environment variable when creating the Task Definition on ECS
I get 403 Forbidden when GitHub action tries to push the image to ECR
Hey thanks for your message! Probably your IAM user does not have the proper permissions to push data into your ECR container Please check your IAM policy attached to your IAM user
@@computingpower I dont know man, I have full admin access (I ended up doing this just to test stuff), on my local pc Im able to push the image just fine, it just doesnt work via github actions.
@@noname13345 Can you check if the Github actions script is using the correct credentials ?
@@computingpower I created new crdentials for the user and selected "Applications outside AWS" and now it works 🔥
Salve mano, cai em teu vídeo agora e tenho uma dúvida sobre esse procedimento. Nesse caso o bun ta sendo usado apenas em tempo de execução, sendo necessário o node pra realizar o build do dist? Mto obg pela disponibilidade de fazer o video. ja ajudou a dar uma clareada por aqui 😄
Opa, bom dia ! Isso, nesse vídeo aí eu usei o Bun apenas em tempo de execução, pois tive problemas ao gerar o build com o bun. Mas isso já tem muitos meses que fiz esse projeto, vale a pena tentar novamente gerar o build com o bun numa versão mais atualizada para ver se agora funciona legal
How to use 2.5 version
who’s got a career in 2025 bruh
hello, am receiving bad gateway from browser: and WARNING: Invalid HTTP request received. in service logs
Hello, does the logs on ECS shows something else ? Could you check whether the app was properly deployed on ECS and are running correctly?
Perfect 👍
Thank you very much. What you recommended approach, if i want to to set up two environment. one for production, while the other for development.
Excellent question! The way I accomplished this was by having two different projects, one for production and another for development: 1. One ElasticBeanstalk environment for development + one code pipeline project for development 2. One ElasticBeanstalk environment for production + one code pipeline project for production Some tips: 1. When configuring CodePipeline project, you can reuse the same CodeBuild setup for both: staging and environment 2. You can setup different source branches on GitHub for each CodePipeline project, one branch for development and another for production I hope this helps
How to modify the stable diffusion workflow if we also have controlnets and other things?
where i can deploy free nestjs?
Hello, unfortunately all tools I used aren’t free. You can make some optimizations to reduce costs or use free tier on some services, but completely free may be a bit hard to find out
this is very helpful..thank you so much.
I'm glad you liked it!
Is it possible to have the backend and front end behind a single load balancer with more than one listener? Load balancers tend to be expensive
Hello, yes, it's possible to do it using a Shared Load Balancer. I have a video about this topic here th-cam.com/video/XhGc_IM959A/w-d-xo.html It's a bit outdated since AWS changed the behavior and design for some its features, but it can still guide you for doing the process in general
Is there a way to be sure when it was deployed to AWS? Like some webhook or some other github action that could let us know once the entire flow is finished and everything is ready?
Excellent question! Yes, you can do it using AWS EventBridge to listen a Deployment State Change event from ECS. So you can setup the correct events on EventBridge + ECS to trigger something, like a lambda function, a direct HTTP webhook call to your codebase or something else that fits your use-case better. docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_cwe_events.html
i tryed but .env isn't showing up.... so the tutorial is for me usless sad....
Hello, try to print the value of your environment variable using print command. If the .env file is outside of root directory, you might need to make changes for reading it first
Top
Obrigado Natercio, tamo junto 👊
This content is pure gold! Do you think that it can work well integrated into a RAG agents on WhatsApp?
Good question! I started studying WhatsApp API as well to make some projects. For now, I don't have too much experience to answer your question, but I can get back to you in future!
@@computingpower obrigado irmao!!
Great information
I’m glad you liked it! 🙌🏼
Dude, skip the piano!
Thanks for your efforts
Im glad you liked it! If you have some topic suggestions for videos, please let me know!
@computingpower do videos on realtime video stream based applications with aws as deployment cloud use llms and computer vision models cool stuff
@computingpower i liked you AI voice assistant project end to end it was best in youtube
Coool🔥
I’m glad you liked it 🙌🏼
where is the previous video?
Hello, here are the two previous videos - th-cam.com/video/C_LJLZfvvaY/w-d-xo.htmlsi=T8rmJFd41BUH2qIX - th-cam.com/video/00I3czV8guk/w-d-xo.htmlsi=sPBck4ghS2vunE6t
Wow nice video 😊 help for me
I’m glad you liked it 🙌🏼
Are you also using service in this video
Hello, are you referring to ECS Service ?
Sempre bom ver os BR brilhando, muito bom conteúdo, parabéns.
Muito obrigado, tamo junto 👊
Hola muchas gracias por todo! Pregunta! Donde configuraste el acceso a la BD? no entiendo como conectaste aws
Hola, para conectarse con la base de datos en AWS, primero, es necesario instalar el AWS CLI en la máquina y configurar las credenciales de acceso. Aquí está el tutorial de cómo hacerlo: th-cam.com/video/1OqMQPx8Jno/w-d-xo.html
Man, you are great! I was stuck all the day (not even ChatGPT could help me) but your video was my very helpful. One point if someone is stuck like me: the subnets should be public (not private) because, otherwise, they can not pull from ECR. Thank you very much!!!
I followed this video and received health check grace period errors. Unfortunately and need to target groups and other important things to use ecs fargate. etc
Hello, thanks for your message! Did you make any changes to your health check config ? What do you have on your root route for your application?
@@computingpower Hello, you're welcome! thank you for sharing this tutorial.
@@computingpower Yes my / root route was return 404 and I creating some new route /health to check. But I had a lot of problems on the process but now is working.
@@yurionthecode I'm glad to know it's working! If you want to see specific video topics on this channel, please let me know! Maybe more details on ECS and Target Groups
How can i do this for java function?
Hello, for Java functions, you will have to create a Java lambda function, and then, automate the creation of your JAR file, and then send it with your GitHub actions automation. Check this out docs.aws.amazon.com/lambda/latest/dg/lambda-java.html
Thank you so much. Can you make a video tutorial deploy front end and back end (nest + react )
Hello! Thanks for the suggestion. I also have a video on how to deploy a React NextJS project to AWS ECS: th-cam.com/video/C_LJLZfvvaY/w-d-xo.html
It would help if you didn't skip user creation >_<
Hello, I did user creation on another video here th-cam.com/video/1OqMQPx8Jno/w-d-xo.html If you have more issues, please let me know!
Very cool video. Lots of valuable information packed in a simple form. Thank you.
I’m glad you liked it !
I have a nestjs backend and a Nextjs client, and I'm exploring AWS for deployment. If I create two services, each in its own ECS cluster, how can I enable communication between the services? Do I need to implement service discovery for this purpose?
Hello, service discovery is one way to do it. The easiest way is to use a custom URL with Route53. I have another set of videos communicating a Python backend with a NextJS frontend: - Deploying Python backend: th-cam.com/video/00I3czV8guk/w-d-xo.html - Deploying NextJS frontend (and connecting with backend): th-cam.com/video/C_LJLZfvvaY/w-d-xo.html Please let me know if you have more questions
Thanks bro! Very helpful
I'm glad you liked it!
I have a doubt. Is there any reason not to Dockerize the project before deploying it to lambda? I am new to this world. I would appreciate your help.
Docker adds complexity to the tool. The more complex the mechanism, the more chances there are to make a mistake somewhere. And the more chances there are that it will break.
Hello, thanks for explaining it! Precisely, Docker is not yet supported on AWS Lambda out of the box. You can still make it work with docs.aws.amazon.com/lambda/latest/dg/images-create.html but it requires a lot more of work
Thank you so much both of you for replying. I realized deploying it at in lambda using docker creates big overhead. Deploying in ec2 instance using docker suited better for my purpose 😊
@@cadc-pn1ir Awesome! For docker (single Docker image), you can also use ElasticBeanstalk. For multiple docker images, ECS might also work really well
Thanks mate, U're great
I’m glad you liked it 🙌🏼
Thanks man
My pleasure! If you want to see a video about a specific topic here, please let me know!
Hi! Where do I find the secrets in AWS? Thanks!
Hello, so for secrets on AWS Lambda, there are three main ways to do it: 1. Environment variables directly from the Lambda function at the configurations page (only for that specific lambda function) 2. Using Systems Manager - Parameter Store (better to reuse the same secrets for multiple services on AWS) 3. Using AWS Secrets - Similar to Parameter Store, but it's more expensive but useful when you need automated rotation of passwords
hi, where can we see the nestjs logs?
Hello, when an application runs on ElasticBeanstalk, you can find its logs on Logs section on ElasticBeanstalk console for your created environment. 1. Go to your deployed app on ElasticBeanstalk 2. Go to logs section 3. Click on dropdown menu and select either last 100 lines or entire logs for your app (each option can be better on different scenarios)
@@computingpower thx
Thanks bro. this is best video for first CI/CD project build. :)
I’m glad you liked it ! 🙌🏼
What about the scenario where we have a docker-compose for 2 two containers (1 for a db and 1 for api) ? Can you please tell the steps for that?
Hello! If you have more than one Docker container, it’s recommended to use ECS instead of ElasticBeanstalk.
Maybe these videos can help th-cam.com/video/00I3czV8guk/w-d-xo.html th-cam.com/video/wLsWALjM-Uk/w-d-xo.html ECS documentation: docs.aws.amazon.com/ecs/
Adorei 👏🏾👏🏾👏🏾
Obrigado, tamo junto!
Great video, all too well explained. I am trying to work on a personal project that needs exactly this but the written files all end up being corrupted. I am using the latest sd3 model, I see the buffer and no errors, any ideas as to what to look for?
Hello! I have not yet tested with the latest Sd3 model, but I can do it and get back to you!
Hi. How about Comfy ui? Can we set up comfyui on AWS? I wonder
Hello! I'm not familiar with comfyui. Are you referring to this? github.com/comfyanonymous/ComfyUI
thanks
fully detailed!
Подскажите как прослушивать @On('text') в разных файлах ....update.ts? Хочу раскидать код по разным файлам, что б было проще ориентироваться.
Привет! В этом случае у вас есть только один слушатель от Telegram. Вы могли бы создать подмодули в слое сервиса и передавать сообщение в различные модули в зависимости от полученного параметра или информации в текстовом сообщении.
great tips ,looking my way to get a job it definitely helps
Good luck on your journey 🙌🏼
Perfect, I liked the video, well explained, with vue on what you did, great rythm and nice background music.
After 3 days of trying to get it to work, I'm giving up
Hey what was the problem?
@@computingpower It just complains that it expected my app to be version "sample" instead of 1
@@gustavostnt Is this on the ElasticBeanstalk console?
@@computingpower Yes, the web UI. I'll be using just regular RDS + EC2 for now
I want to publish my app on 8000 port. So, what changes should I make?
Hello, on your task definition on ECS, you will have to update the Port mapping to use port 8000. docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PortMapping.html docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#:~:text=instance%20memory%20.-,Port%20mappings,-portMappings