- 62
- 312 838
TrickSumo
India
Приєднався 21 бер 2019
DO !T LEARN !T
Google Cloud, AWS, Linux, WordPress, Arduino, Reviews.
Google Cloud, AWS, Linux, WordPress, Arduino, Reviews.
Cognito Hosted UI Not Working - How To Use AWS Cognito HostedUI Properly
AWS Cognito hosted UI URL should be in the below format:-
your domain/oauth2/authorize?response_type=code&client_id=your app client id&redirect_uri=your callback url
Docs:- docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-app-integration.html
your domain/oauth2/authorize?response_type=code&client_id=your app client id&redirect_uri=your callback url
Docs:- docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-app-integration.html
Переглядів: 111
Відео
How CORS Works In AWS S3 - Hands On Tutorial
Переглядів 1088 місяців тому
How CORS Works In AWS S3 - Hands-On Tutorial #awss3 #aws #websecurity
What is Cross-Origin Resource Sharing? Resolve CORS Error in React NodeJS Express Application
Переглядів 2318 місяців тому
What is a Cross-Origin Resource Sharing (CORS) Error? How to fix CORS in react, nodejs (express), and javascript applications. CORS is a security mechanism enforced by web browsers to control how two origins (or web servers) share resources. It allows the web server (or origin) to specify which other origins can access its resources using HTTP headers. CORS headers are Access-Control-Allow-Orig...
[Course Announcement] Intuitive Introduction To Quantum Computing With Classiq
Переглядів 1219 місяців тому
Learn fundamentals of quantum computing and algorithms (quantum programming tutorial):- gitlab.com/alvarorgomez/introduction-to-quantum-computing-with-classiq/-/blob/main/START.ipynb An interactive introduction to quantum computing course playlist:- ua-cam.com/play/PLxRVKjp6PFRv6NYlPRrvwSgYGWSTXe5Od.html Course Content:- Quantum Computing Introduction | State preparation | Quantum Oracles | Pha...
How To Transfer Domain Name From Namecheap To CloudFlare
Переглядів 4639 місяців тому
How To Transfer Domain To CloudFlare 1. Add website to Cloudflare. 2. Remove the domain lock and initiate transfer using the domain authorization code. 3. Verify email to complete the transfer. #transfer #domainname #cloudflare
[Solved] Openai.RateLimitError: You Exceeded Your Current Quota
Переглядів 2,7 тис.9 місяців тому
openai.RateLimitError: Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: platform.openai.com/docs/guides/error-codes/api-errors.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}}
Python Web App CI/CD Using Github Actions and AWS EC2 | Deploy Langchain Flask Django App On Server
Переглядів 3 тис.9 місяців тому
Deploy LangChain and Flask Application Using Github Actions and AWS EC2 (Gunicorn & Nginx) Steps:- 1. Create EC2 instance. 2. Add GitHub env variables. 3. Add GitHub actions, deployment script, and requirements.txt Github action file:- github.com/TrickSumo/langchain-course-python/blob/16-CICD-PYTHON-WEBAPP/.github/workflows/deploy.yaml Bash Script:- github.com/TrickSumo/langchain-course-python/...
Connect Custom GPT To Pinecone Vector Database
Переглядів 1,3 тис.11 місяців тому
Connect Custom GPT To Pinecone Vector Database GitHub Code Link:- github.com/TrickSumo/langchain-course-python/tree/15-custom-gpt-pinecone #vectordatabase #GPT #openai #render #fastapi #pinecone
Setup Stripe Recurring Payments With NodeJS And React Application
Переглядів 4,1 тис.11 місяців тому
Stripe Recurring Subscription Integration With MERN StackRepo Link:- github.com/TrickSumo/stripe-demo/tree/subscription Documentation:- stripe.com/docs/payments/checkout/how-checkout-works stripe.com/docs/api/checkout/sessions/create #Stripe #paymentgateway #mongodb #javascript #nodejs #mernstack
Stripe Payment Gateway Integration in NodeJS React Application
Переглядів 33711 місяців тому
How To Setup Stripe Payment Gateway For React and NODEJS Application Repo Link:- github.com/TrickSumo/stripe-demo/tree/one-time-payment Commands:- stripe login stripe listen forward-to localhost:3001/webhook-onetime-payment Documentation:- stripe.com/docs/payments/checkout/how-checkout-works stripe.com/docs/api/checkout/sessions/create #Stripe #paymentgateway #webdevelopment #javascript #nodejs...
How To Install Stripe CLI On Windows And Test With Webhooks
Переглядів 13 тис.11 місяців тому
How To Setup And Run Stripe CLI On Windows Computer. 1. Download stripe CLI :- stripe.com/docs/stripe-cli 2. Extract and copy the path. 3. Add to system path variables. Run command on Powershell as administrator. $path = [System.Environment]::GetEnvironmentVariable('Path', 'Machine') $newPath = "C:\Users\Rishi\Downloads\stripe_1.18.0_windows_x86_64" [System.Environment]::SetEnvironmentVariable(...
The CLASSIQ QUEST Quantum Hackathon And Quantum Computing Bootcamp
Переглядів 109Рік тому
Join the quantum computing bootcamp organized by classiq to learn fundamentals. Complete challenges and participate in quantum computing hackathon to win prizes. #quantumcomputing #classiq #quantummechanics #bootcamp #hackathon
QbitByQbit Introduction To Quantum Computing Course 2023
Переглядів 74Рік тому
QbitByQbit Introduction To Quantum Computing Course 2023
How To Deploy Langchain Pinecone Application On AWS EC2
Переглядів 505Рік тому
ssh -i "C:\Users\user\Downloads\lanchain.pem" ubuntu@IP-ADDRESS-HERE sudo -s apt-get update sudo add-apt-repository ppa:deadsnakes/ppa sudo apt install python3.11 sudo update-alternatives install /usr/bin/python3 python3 /usr/bin/python3.10 1 sudo update-alternatives install /usr/bin/python3 python3 /usr/bin/python3.11 2 sudo update-alternatives config python3 git clone -b 12-retrievalQAChain-c...
ConversationRetrievalChain in LangChain - Detailed Tutorial
Переглядів 2 тис.Рік тому
GitHub Code: github.com/TrickSumo/langchain-course-python/tree/13-conversation-retrieval-chain
Chat With PDFs Using The RetrievalQA Chain In LangChain
Переглядів 517Рік тому
Chat With PDFs Using The RetrievalQA Chain In LangChain
OpenAI Embedding API Cost Estimation Using Tiktoken Library
Переглядів 589Рік тому
OpenAI Embedding API Cost Estimation Using Tiktoken Library
Pinecone Vector Database Explained: Vectors, Embeddings, and Similarity Search
Переглядів 413Рік тому
Pinecone Vector Database Explained: Vectors, Embeddings, and Similarity Search
LangChain Project Create Personalized Cover Letter Generator with OpenAI
Переглядів 302Рік тому
LangChain Project Create Personalized Cover Letter Generator with OpenAI
SimpleSequential Chian and Sequential Chain in LangChain
Переглядів 340Рік тому
SimpleSequential Chian and Sequential Chain in LangChain
LangChain Tutorial - What are Chains? LLMChain?
Переглядів 150Рік тому
LangChain Tutorial - What are Chains? LLMChain?
PydanticOutputParser Essentials: Validating Fields in LangChain
Переглядів 483Рік тому
PydanticOutputParser Essentials: Validating Fields in LangChain
Domain Name Generator Using LangChain OpenAI Model and Output Parser
Переглядів 170Рік тому
Domain Name Generator Using LangChain OpenAI Model and Output Parser
LangChain Output Parsers Basics - CommaSeperatedListOutputPaser
Переглядів 332Рік тому
LangChain Output Parsers Basics - CommaSeperatedListOutputPaser
Getting Started With the OpenAI LLM Model in LangChain
Переглядів 853Рік тому
Getting Started With the OpenAI LLM Model in LangChain
Setting Up OpenAI API Key in Visual Studio Using Python and Dotenv
Переглядів 6 тис.Рік тому
Setting Up OpenAI API Key in Visual Studio Using Python and Dotenv
Getting Started with LangChain: Understanding the Building Blocks
Переглядів 525Рік тому
Getting Started with LangChain: Understanding the Building Blocks
Thank you
You're welcome :)
thank you man
You're welcome! 😊
why pumpkins?
Halloweeeeeeeeeeeeeeeeeeeeeen 🎃🎃🎃🎃🎃🎃🎃🎃🎃
@@TrickSumo but why do you put pumpkins?
I just wanted some image to hide API keys. Picked random image from Pixabay. Nothing specific! Also, I like pumpkins, tasty!!!
Thanks for this awesome video my friend!
Thank You 😊
Thank you. I hope everyone do it work like me
I hope so too 😇😇😇
Will the DNS records automatically be transferred? Or do you need to screenshot then manually input them?
Hi When you add domain name, Cloudflare attempts to scan your existing DNS records. If it successfully scans all of them, then good. Else, you should export from previous provider in CSV format and import in Cloudflare.
thank you
You're Welcome 😊
Thanks
Welcome 😊
not working. open the stripe folder through command prompt and open the file there. and then click login. this works.
कभी-कभी कम व्यू वाली वीडियो काम आ जाती है। 😊❤
😁
Thanks for the video. in the lastest version you have to verify your email for the final confirmation
Hi Thanks for update :)
Short and Great video, thanks man.
Welcome 😊
i add the path but it still don't work why :( its only work when i go to cmd and go to stripe path. but in general it doesn't
Not sure exactly what's wrong 🤔
Thanks💯
Welcome :)
Thanks!
Welcome!
Thanking you
Welcome :)
Thank you for the video.
Glad it helped :)
How to keep it running for lifetime ?
Hi Do you mean how to keep Render server running always? Looks like in the free version they turn off server after some time of inactivity. Then if you try to access it, first time there will be some delay as the server boots up. One option is to get a paid plan from Render. Or use cloud service like AWS EC2.
please do it with custom prompt template
Bro even this is also not working! Help me out Both this and that another video of yours having vv connection is also not working In this only led on the esp is getting turned on, there is still distance shows zero
Hi, If both methods did not work, then not sure what's wrong... The sensor itself might be damaged...
@@TrickSumo hey tq! It's working now😊
@@bruhat15 Awesome!!! 😊
what if i using Arduino IDE 1.8.10 is the same way with your video?
Hi May work. Not used Arduino IDE since long, can't say for sure.
Does this require you to push the generated .env file to your github repo?
No, env variables are stored as GitHub repo environment secret. ua-cam.com/video/W8tONeBuTn0/v-deo.html These secrets are used to create .env file dynamically. So your keys are never exposed publically.
Hi , for sure a great video from you. how do you find the responses of the GPT after integrating it with pinecone database does it worked better with the retrieval network ? and do you know the exact limit of the knowledge base ?
Hi Using RAG with ChatGPT makes the response more related to your knowledge base. It is same as using OpenAI APIs with Pinecone:- ua-cam.com/video/r_W0cnwaLQo/v-deo.html ua-cam.com/video/rTTRKsV1vP0/v-deo.html Built-in knowledge storage of hatGPT has a limit of 10MB (or something similar). But by using Pinecone you can extend it to unlimited (Now Pinecone have pay as you go serverless model).
Very helpful thanks.
Glad helped you 😊
Thanks it is very helpful
Most welcome 😊
helped me a lot! thanks!
Nice 😊
Thanks rishi prabhu ❤. Very nice explanation
😄
Do I know you? 🤔
Hi, I just want to say thank you so much for this tutorial is there anyway i can DM you maybe on twitter or on Linkedin?
Hi Nice to know that tutorial helped you :) You can mail me at admin@tricksumo.com
@@TrickSumo I will do that just now🙏 Thank you so much
Sure
Hy guys, i don't understand on what Pin is connected data sensor ... can you write please ? Thank you for help
Hi I also forgot, which pin it was 🤣 Refer this, according to your NodeMCU model:- Amica:- github.com/TrickSumo/water-level-indicator-controller/blob/master/Circuit%20Diagram%20For%20NodeMCU%20ESP8266%20Amica%20Model.JPG Lolin:- github.com/TrickSumo/water-level-indicator-controller/blob/master/Circuit%20Diagram%20For%20NodeMCU%20ESP8266%20LoLin%20Model.jpg GND pin will be same for both model. For +5V, use either VV or Vin pin.
@@TrickSumo Thank you ! I still have an issue, when i connect VIN pin i can't download the sketch on the board. If i remove VIN pin, then it download ... I have an AMICA board.
@@franckcopeland2464 I remember this issue - you can remove sensor to download sketch and connect again. Or use 555IC:- ua-cam.com/video/hPv9uX3rUWc/v-deo.html Main issue is that 3V supply is not sufficient for the sensor. Feed it 5v anyhow and things will work.
@@TrickSumo Thank you !
@@franckcopeland2464 You're Welcome 😊
can't search esp8266 in the library as of now, can you help me bro?
Hi Make sure to add URL in preferences:- ua-cam.com/video/AaWbRhCl0XI/v-deo.html
How can I add Google pay and apple pay button also , please provide any solution or docs link , video link
Hi Checkout:- docs.stripe.com/google-pay?platform=web Steps 1. Click on the gear icon (settings) >> Payment settings >> Payment methods 2. Enable Apple and Google pay (verify domain name in payment method domains tab). That's it, now wallets should appear on the checkout page. Apple Pay and Google Pay are included in the card payment method type, so you don’t need to explicitly pass Apple Pay and Google Pay here:- github.com/TrickSumo/stripe-demo/blob/subscription/server/server.js#L80
u da best man! Followed and worked! with some modifications ofc
Awesome 🚀😊🎉
excuse me, but it says error compiling the nodemcu , and it also says no matching function for call to 'FIREBASE_CLASS::begin(const char [35], const char [41])'
Hi Refer the last comment on this gist, there are some changes in library:- gist.github.com/TrickSumo/2f16c122b2f59c1e7b0846514dd945cd Working example:- github.com/mobizt/Firebase-ESP8266/blob/master/examples/Authentications/LegacyTokenAuthen/LegacyTokenAuthen.ino Modified code:- ======================================================================================= #include <ESP8266WiFi.h> #include <FirebaseESP8266.h> #define FIREBASE_HOST "test.firebaseio.com" //Your Firebase Project URL goes here without "http:" , "" and "/" #define FIREBASE_AUTH "abc" //Your Firebase Database Secret goes here #define WIFI_SSID "Wifiname-here" //WiFi SSID to which you want NodeMCU to connect #define WIFI_PASSWORD "Wifipassword-here" //Password of your wifi network // Declare the Firebase Data object in the global scope FirebaseData firebaseData; /* 4, Define the FirebaseAuth data for authentication data */ FirebaseAuth auth; /* Define the FirebaseConfig data for config data */ FirebaseConfig config; // Declare global variable to store value int val=0; void setup() { Serial.begin(115200); // Select the same baud rate if you want to see the datas on Serial Monitor Serial.println("Serial communication started "); WiFi.begin(WIFI_SSID, WIFI_PASSWORD); //try to connect with wifi Serial.print("Connecting to "); Serial.print(WIFI_SSID); while (WiFi.status() != WL_CONNECTED) { Serial.print("."); delay(500); } Serial.println(); Serial.print("Connected to "); Serial.println(WIFI_SSID); Serial.print("IP Address is : "); Serial.println(WiFi.localIP()); //print local IP address // Firebase.begin(FIREBASE_HOST, FIREBASE_AUTH); // connect to firebase /* Assign the database URL and database secret(required) */ config.database_url = FIREBASE_HOST; config.signer.tokens.legacy_token = FIREBASE_AUTH; Firebase.begin(&config, &auth); Firebase.reconnectWiFi(true); delay(1000); } void loop() { // Firebase Error Handling And Writing Data At Specifed Path************************************************ if (Firebase.setInt(firebaseData, "/data", val)) { // On successful Write operation, function returns 1 Serial.println("Value Uploaded Successfully"); Serial.print("Val = "); Serial.println(val); Serial.println(" "); val++; delay(1000); } else { Serial.println(firebaseData.errorReason()); } }
Thanks for video, great explanation, try more on video editing it will keep users engaged to your great content
Hi Thanks for feedback!
Excellent way to solve the problem!. Thank you for sharing. I was having difficulties to use DirectoryLoader because of the decoding issue. Now it has been solved because of you!
Super!!! Glad it helped 😀
thank you sirr
You're Welcome 😄
I have the next error when I try to use this library and chat gpt doesn't help me to much :)) Can anybody help me please? In file included from f:\Licenta\Software\libraries\Firebase_ESP8266_Client\src/Firebase.h:36:0, from f:\Licenta\Software\libraries\Firebase_ESP8266_Client\src/FirebaseESP8266.h:36, from F:\Licenta\Software\Comunicatie seriala intre placute\ESP8266\ESP8266.ino:4: f:\Licenta\Software\libraries\Firebase_ESP8266_Client\src/FirebaseFS.h:124:22: fatal error: LittleFS.h: No such file or directory #include <LittleFS.h> ^ compilation terminated.
Hi Looks like some library or file is missing. There is one more library to connect esp8266 to Firebase, you can check that if it helps:- ua-cam.com/video/ZZ5JvSA-Ed8/v-deo.html
thanks for the guide its working but i want to ask do we really have to delete the whole project and recopy it everytime we push what if project is big and change is very small do we still have to do the same process or there is any other efficient way
Hi In GitHub action, "rsync" command can be used instead of "src" (line 37 of deploy.yaml):- rsync -avz --delete ./ $EC2_USERNAME@$EC2_HOST:/var/www/langchain-app After that "sudo mv * /var/www/langchain-app" command from bash script can be removed:- github.com/TrickSumo/langchain-course-python/blob/16-CICD-PYTHON-WEBAPP/deploy.sh#L10
how did you get to the part where set the environment variables
There are separate videos for that:- ua-cam.com/video/LUHeCvVFATU/v-deo.html This one is just to install stripe CLI. Checkout other two videos to see how to get keys and setup payment.
go to your settings > then system > about > then on device specification section see on the related links > Advanced system settings
@@ShreyanshShukla-t6iThanks for pointing out. I thought @ambrosearuwa9458 was asking about the stripe API key. Alternative way is to just search for "system environment variables" in the Windows search bar and then select Environment variables.
Home Work hint => 1. To get instance IP address in the bash script, use:- curl 169.254.169.254/latest/meta-data/public-ipv4 (make sure to do:- EC2 instance >> Instance settings >> Modify instance metadata options >> IMDSv2 >> Optional) 2. Use "sed" Linux command to search and replace IP address in the "index.html"
Is it suitable for cicd?
Yes 🚀
How to make cicd for langchain python base app in aws
Will make video on it today :)
Check this out:- ua-cam.com/video/W8tONeBuTn0/v-deo.html
It worked perfectly 😊 thank you so much 😊
Welcome 😊
Thank you so much for awesome tutorial. I have Done all the steps, DB is also getting connected. But ESP8266 is unable to post data to DB , It shows error Code "-1"
Hi there, Looks like your Arduino (with ESP8266) is not reachable to the internet (that's why error Code "-1"). If possible, try using NodeMCU ESP8266 development board (with built-in ESP8266). Thanks
@@TrickSumo thank you so much for reply. I am using esp8266. It is getting connected with wifi without any problem.
It's not redirecte for stripe checkout page please solve this
Hi At what timestamp in video you faced this problem?
14:50 @@TrickSumo
@@TrickSumo the error is response .json is not a function
@@aloneking5388 So I took code from GitHub as it is, just updated .env file and did "npm i". Things working as expected for me. For you, looks like there is some error from the server side. Try adding some logs here:- github.com/TrickSumo/stripe-demo/blob/subscription/client/src/HomePage.js#L21 Or inspect network calls to see what is exact error from the server.
@@TrickSumo I think the next the problem in in Loadstripe in not working
Thank you for very good advise. Because I'm using old ESP8266 board, and probably it needs older version of board manager. Thanks again
😇😇😇
I have a pinecone index already set up in pinecone that I would like to connect but am receiving 'Internal Server Error' from my postman when I try to run it. The pinecone db has the fields 'id', 'text', and 'source'. Do you know why I might be getting this error?
Hi Are you trying to connect to pinecone API using postman? Or render is giving 500 internal server error?
It Doesn't work
Hi What error you are getting? Also check if this alternate library works for you:- ua-cam.com/video/XmPgiBF6FNY/v-deo.html
@@TrickSumo every updated library i'm using. Its not connecting to my database. Can you help me personally. I'm in a big trouble with my project
@@gentleman7060 Recently I tried that alternative library and it worked for me. I'm not into this IOT stuff anymore but can try to help you. Can you mail me your code and the error you are facing? admin at tricksumo.com
@@TrickSumo i have solved it by myself (needed a lot of time). Anyway Thanks for replying. ❤️
Nice 😊
Hi im receiving a error on the project. can you please help me on this "IOT Based Water Level Controller Using NodeMCU ESP8266" - Compilation error: cannot convert 'const char [57]' to 'FirebaseConfig*' {aka 'firebase_cfg_t*'}
Hi There are some changes in that library. Checkout my last reply in this thread for solution:- gist.github.com/TrickSumo/2f16c122b2f59c1e7b0846514dd945cd
omg you are life saver T-T
😊
Small question what would happen if you start a chat with empty history, because the chat needs to know that its history is empty, and still access the data from the vector store
ConversationRetrievalChain without history would be just equal to RetrievalQAChain. Even without history, it will get data from the vector store. But without history, it would not know how your question is related to previous querstion.
Then what happens in a new session, where there's no history 😕
@@thestacksdev Yes, for a new session, there will be no data. If you want to continue chatting even after reloading the webpage, consider using DB to store chats. Or you might try local storage to store chats.