govind-kumarr / simple_rag_dashboard

Chat with your docs. The deployed link is not updated. Please setup project locally to find issues.
19 stars 32 forks source link

Uploading avatars to AWS S3 #8

Open govind-kumarr opened 1 month ago

govind-kumarr commented 1 month ago

Screenshot (627)

Currently, if the user is signing up using Google. His Google avatar URL is stored in the collection. But that URL is not working properly in the front end as you can see in the screenshot the URL is broken so the possible solution is to fetch the image from that URL and upload it to AWS S3 and use it from there. I have already deployed two lambdas to upload and fetch images from s3. Let me know if anyone is interested in working on this. This task is related to the backend.

Rhythm1710 commented 1 month ago

I can work on this.

litesh1123 commented 1 month ago

I have worked on AWS services, i know how to upload images from web to s3 ,using lambda

lambda api 2 i have worked on robust architecture Amazon API gateway connected to lambda and s3 bucket

please assign me this issue

litesh1123 commented 1 month ago

@govind-kumarr thank you sir

govind-kumarr commented 1 month ago

@litesh1123 any update ?

litesh1123 commented 1 month ago

@govind-kumarr yes sir working on it ,my aws account is banned testing with new aws account will update in 1 day

govind-kumarr commented 1 month ago

Hi, @litesh1123 sharing you code of my lambdas. You just need to call these lambdas at the backend. https://gist.github.com/govind-kumarr/e838b4745bc96b0227854bbad9b8e1cc

govind-kumarr commented 1 month ago

Screenshot (631)

litesh1123 commented 1 month ago

thank you sir it will be helpful

tejaswini4996 commented 1 month ago

I would love contributing to this issue

govind-kumarr commented 1 month ago

@litesh1123 please update your fork and test the code. Do the modifications if needed and raise PR. https://github.com/govind-kumarr/simple_rag_dashboard/commit/6d9d9d607c431341bf4fc768ca984845066e4399

govind-kumarr commented 1 month ago

@litesh1123 I am going to close this issue as this is completed. You can raise a PR.

litesh1123 commented 1 month ago

ok sir

litesh1123 commented 1 month ago

i will be doing it today

tejaswini4996 commented 1 month ago

who is working on this issue is it assigned to me?

On Sat, May 18, 2024 at 2:39 PM litesh1123 @.***> wrote:

i will be doing it today

— Reply to this email directly, view it on GitHub https://github.com/govind-kumarr/simple_rag_dashboard/issues/8#issuecomment-2118725570, or unsubscribe https://github.com/notifications/unsubscribe-auth/BAEV75OE3IMOWBM2WPHSOX3ZC4LE3AVCNFSM6AAAAABHQ5YUH2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJYG4ZDKNJXGA . You are receiving this because you commented.Message ID: @.***>

litesh1123 commented 1 month ago

@govind-kumarr codes fine but lambda code can be optimized and other things can be added in code file

govind-kumarr commented 1 month ago

@litesh1123 Sure you can add optimized lambda code in the backend I will review it and deploy it.

litesh1123 commented 1 month ago

okay than i will be adding files with names and update it