Build Your RAG-based ChatGPT Web App with Azure: LawGPT Use Case Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 พ.ย. 2024

ความคิดเห็น • 77

  • @Fresh_Bytes
    @Fresh_Bytes ปีที่แล้ว +6

    I am really impressed with what this channel has become. Probably the best content on TH-cam right now 👍❤

    • @AIAnytime
      @AIAnytime  ปีที่แล้ว +1

      Glad you enjoy it!

  • @UmerFarooq-h1k
    @UmerFarooq-h1k ปีที่แล้ว +1

    Thanks! Ai Anytime!
    AI Anytime Dive deep into the world of AI with meticulously crafted content that informs, inspires, and empowers. Stay ahead in the AI revolution with this essential guide

  • @jorgerios4091
    @jorgerios4091 ปีที่แล้ว +1

    As usual, always great stuff in your channel. I can't wait for the future open source versions!

    • @AIAnytime
      @AIAnytime  ปีที่แล้ว +1

      Glad you like them! A few open source videos of similar nature can be found in my LLM playlists.

  • @Ikkii94
    @Ikkii94 ปีที่แล้ว +4

    Hi,
    I was wondering, you put 3 files in the data folder as information for your app to explore as information, what if later, you want to add more documents, or else, some documents add more information/update information from previous documents (exemple: EUR money rate change every x time, so it needs update) how do you do that ?
    Do you put it all together in the data folder ? Is there a command line to do to update/recreate the database ?
    thank you for your video, very interesting

    • @kaspah
      @kaspah 7 หลายเดือนก่อน

      azd up

  • @Scooterboy_and_others109
    @Scooterboy_and_others109 ปีที่แล้ว +3

    At 5:10 you mentioned about K=3 (number of documents to be scanned)
    If the answer can result from say 25 documents, how does it decide which of the 3 it should pick from 25?
    Is there any specific SORT logic it uses that can be parameterized?

    • @AIAnytime
      @AIAnytime  ปีที่แล้ว +1

      Very good point. Loved the intricacies here, Prasanna. Yes there is some sort of mechanism placed for example Similarity search or Max marginal relevance search algorithms. You can look at this link to get more clarity on search kwargs: python.langchain.com/docs/use_cases/question_answering/how_to/vector_db_qa

  • @ruthiruliyanrachchi3543
    @ruthiruliyanrachchi3543 23 วันที่ผ่านมา

    If i want to add documents later do i have to do the same process again or can i upload directly to the azure storage

  • @heist7539
    @heist7539 ปีที่แล้ว +1

    was really waiting on this vid time to study

    • @AIAnytime
      @AIAnytime  ปีที่แล้ว

      Thanks. Hope you liked it.

  • @antonioribeiro1988
    @antonioribeiro1988 7 หลายเดือนก่อน

    Parabéns pelo trabalho!
    Só temos a agradecer por essa montanha de conhecimentos!
    Se você conseguir fazer um vídeo com esse propósito, porém com ferramentas open-source, seria muito bom!
    Parabéns!

  • @ochanabondhu
    @ochanabondhu ปีที่แล้ว

    This is such a brilliant video. Thank you so much. Just one question. If I upload the blob storage manually with new files while the app is still running, will the new data be vectorized automatically?

  • @SuperLittle35
    @SuperLittle35 10 หลายเดือนก่อน

    I have been working with Azure OpenAi and i wanted to confirm something.
    For every follow up question, do you have to send all the previous chats as well?

  • @SrinivasSangam-t1m
    @SrinivasSangam-t1m ปีที่แล้ว +1

    Great stuff, I have been going through your videos recently and loved all of it. Question: can I opt for free tier or basic plan for Cognitive search by making changes to the bicep file? Will it support for less 50mb size? I understand the limitation, however still want to carry out POC with low cost.

    • @AIAnytime
      @AIAnytime  ปีที่แล้ว

      Thanks.... basic plans will be a great start! Less than 50mb, go ahead and build the PoC and show it to clients. Then scale it later....

    • @SuperLittle35
      @SuperLittle35 10 หลายเดือนก่อน

      So, did the basic plan work?

  • @Sebastian-di6sj
    @Sebastian-di6sj ปีที่แล้ว +1

    So this is just for retrieving info? or can u make this also solve cases with similar situations?

    • @AIAnytime
      @AIAnytime  ปีที่แล้ว +1

      Can you explain in more detailed.

    • @Sebastian-di6sj
      @Sebastian-di6sj ปีที่แล้ว

      @@AIAnytime If a user has a similar case, as in the databank. with maybe slight differences, can the databank then output a possible solution to the case based off lots and lots of previous data? Thanks a lot for your fast reply! Greetings from Austria:)

  • @ehteshamnehal7024
    @ehteshamnehal7024 ปีที่แล้ว +2

    What can be the cost I can expect to build this for production? (Assuming I have 100Gb of data)

    • @akki_the_tecki
      @akki_the_tecki 11 หลายเดือนก่อน

      Did you get the answer?

  • @paritoshk990
    @paritoshk990 10 หลายเดือนก่อน

    Great Stuff! Could you please also share how can we change/add the data after deployment?

  • @iainhmunro
    @iainhmunro 10 หลายเดือนก่อน

    Almost got it - it failed with the following mssage - Deployment Error Details:
    InvalidTemplateDeployment: The template deployment 'openai' is not valid according to the validation procedure. The tracking id is 'f845b724-4380-47ef-9e91-1d12cb67cc44'. See inner errors for details.
    SpecialFeatureOrQuotaIdRequired: The subscription does not have QuotaId/Feature required by SKU 'S0' from kind 'OpenAI' or contains blocked QuotaId/Feature.
    Any ideas ?

  • @CaesarEduBiz-lz2cg
    @CaesarEduBiz-lz2cg ปีที่แล้ว

    Basically Azure Cognitive Search acts like Llama Index in this tech stack?

  • @michaelgarrigan56
    @michaelgarrigan56 ปีที่แล้ว

    Thank you so much for the video, it was incredibly informative. What is the best way to update the data later on down the line? Let's say a judge or lawyer asked for an additional set of case studies - how would you go about uploading them to the bot? Could you just add it to your blob storage instance created during configuration?

  • @micbab-vg2mu
    @micbab-vg2mu ปีที่แล้ว

    Thank you for the video.I will try to build it and test the accuricy of resonses.

    • @AIAnytime
      @AIAnytime  ปีที่แล้ว

      Pls let me know your findings.

  • @jatinkashyap1491
    @jatinkashyap1491 10 หลายเดือนก่อน

    Can it also process scanned text documents? Thanks for the content.

  • @datafakts
    @datafakts ปีที่แล้ว +1

    How can you connect this to an Elasticsearch Index instead of using Azure Cognitive Search?

    • @AIAnytime
      @AIAnytime  ปีที่แล้ว

      Very good idea. I am working on something similar, will release that video soon.

  • @pentall6791
    @pentall6791 ปีที่แล้ว

    Thank you for this video. Azure is charging a lot of money using this method even during off hours and using it only for a few minutes. Can you help resolve this issue. TY.

  • @Outr8js
    @Outr8js 11 หลายเดือนก่อน

    Thank you for the video. Question, I'm not a coder so don't laugh but how do I add UI?

  • @kevennguyen3507
    @kevennguyen3507 10 หลายเดือนก่อน

    How can we add an extension to the app? for example, we want to ask users for feedback on the bot's answer, if it's helpful, accurate, and complete. We wanted to integrate that into the conversational aspect of the chatbot. After answer the question, the bot would ask user "would you like to rate my response?" and user would be selecting Yes or No. If yes, then the bot would ask if it's accurate, user would rate... at the end of the survey, all these will be logged into a spreadsheet (question, answer, rating...) for review.

  • @ParthPatel-vv1bg
    @ParthPatel-vv1bg 11 หลายเดือนก่อน

    Hello Bhavyabhai
    I tried this steps, when I start deployment using " azd up " i got auth error while creating some services, some of them are created on my azure. can you please guide me, in code where exactly I find the service creation part?
    Thank you so much for this amazing informative video.

  • @yassinebakhti5590
    @yassinebakhti5590 4 หลายเดือนก่อน

    can you share this repo please the new one is a bit more complex

  • @siddharthghuge8505
    @siddharthghuge8505 ปีที่แล้ว +1

    sir to create this project is it free to use or does it require open Ai api key

    • @AIAnytime
      @AIAnytime  ปีที่แล้ว

      It requires Azure access.

  • @SnehaRoy-xf3zv
    @SnehaRoy-xf3zv ปีที่แล้ว

    Not slowing down 😂... Liked.

  • @dushankarawita2110
    @dushankarawita2110 ปีที่แล้ว

    Hi, impressive work. When I tried to execute "azd up" I'm getting the below error.
    ERROR: Could not build wheels for aiohttp, tiktoken, which is required to install pyproject.toml-based projects
    Any indicator to solve this would be appreciated.

  • @user4-j1w
    @user4-j1w ปีที่แล้ว

    Very helpful video.... thank you

    • @AIAnytime
      @AIAnytime  ปีที่แล้ว

      Glad it was helpful!

  • @akworld0017
    @akworld0017 ปีที่แล้ว

    Awesome content as always - How to get rid of hallucinations in response?

    • @AIAnytime
      @AIAnytime  ปีที่แล้ว

      I didn't see Hallucination with the questions I had asked. This has been the best performance so far. Let me know if you see any hallucinations with this solution.

  • @razexamvs8756
    @razexamvs8756 ปีที่แล้ว +1

    What to do if i ask this to simplify the pdf and download it again the simplified version

    • @AIAnytime
      @AIAnytime  ปีที่แล้ว

      You have to design the prompt that way and a file post-processing functions need to be added.

  • @ABHINAYYADAV-j2h
    @ABHINAYYADAV-j2h 7 หลายเดือนก่อน

    Please tell me how to with aws mistral model

  • @RedCloudServices
    @RedCloudServices ปีที่แล้ว

    Streamlit is so much simpler than all of these typescript and react files for an app

    • @AIAnytime
      @AIAnytime  ปีที่แล้ว +1

      Yes but sometimes you can't show a Streamlit app to a client. They demand more.

  • @kamal-d3s3k
    @kamal-d3s3k ปีที่แล้ว

    what to do if we want to extract exact data as in our document for any query?

    • @AIAnytime
      @AIAnytime  ปีที่แล้ว

      Temperature needs to be 0. Semantic search algorithms need to be tweaked. The retriever I mean.

  • @akki_the_tecki
    @akki_the_tecki 11 หลายเดือนก่อน +1

    bhayya, make a video dedicating to Microsoft Azure and its Payment Subsricption. Ppl are getting confused and We need to know is our data is safe or not

    • @AIAnytime
      @AIAnytime  11 หลายเดือนก่อน +1

      Sure Akhil. Will create one.

    • @akki_the_tecki
      @akki_the_tecki 11 หลายเดือนก่อน

      @@AIAnytime all of your videos are top notch bhayya 🙌🏻

  • @kundetivamsi1079
    @kundetivamsi1079 ปีที่แล้ว +1

    I had run this project with Azure student starter account ,but I was end up with "Failed: App Service plan:" error 😌😔

    • @AIAnytime
      @AIAnytime  ปีที่แล้ว

      This probably might not work with a student account. Let me do a double check anyway.

    • @futurebeing7927
      @futurebeing7927 ปีที่แล้ว

      @@AIAnytime hey have you checked about student account? please let us know, that will be very helpful. thank you.

  • @MkmeOrg
    @MkmeOrg ปีที่แล้ว

    Very neat

    • @AIAnytime
      @AIAnytime  ปีที่แล้ว

      Thank you! Cheers!

  • @orlandocastellanos9263
    @orlandocastellanos9263 ปีที่แล้ว

    What if a want to use whisper in case the user wants to send an audio what can I do ?

    • @AIAnytime
      @AIAnytime  ปีที่แล้ว

      Changes need to be done in backend. Put whisper logic into the python file. On frontend, you would need an icon for the microphone or something.

  • @JavierTorres-st7gt
    @JavierTorres-st7gt 4 หลายเดือนก่อน

    How to protect a company's information with technology ?

  • @specializedboy6271
    @specializedboy6271 9 หลายเดือนก่อน

    awesome

  • @andreduval7359
    @andreduval7359 ปีที่แล้ว +1

    How can I contact you?

    • @AIAnytime
      @AIAnytime  ปีที่แล้ว

      Plz find my contact details or social media through my TH-cam banner or about us channel.

  • @fabianaltendorfer11
    @fabianaltendorfer11 ปีที่แล้ว

    are you on x?

    • @AIAnytime
      @AIAnytime  ปีที่แล้ว

      No, I am on LinkedIn and GitHub. Don't use X which spreads fake news.

  • @walberc
    @walberc ปีที่แล้ว

    Cog search is to expensive

    • @AIAnytime
      @AIAnytime  ปีที่แล้ว

      Yes but Enterprises who are already on Azure cloud, they prefer this sort of solutions.... cost, performance and scalability all Trade-offs.

  • @orlandocastellanos9263
    @orlandocastellanos9263 ปีที่แล้ว

    Is Christmas already ?

    • @AIAnytime
      @AIAnytime  ปีที่แล้ว +1

      Haha 🤣... Gifted by father.

  • @vladimirshapran7286
    @vladimirshapran7286 3 หลายเดือนก่อน +1

    Hello good sir, your video helped me a lot, but have you separatly instlled npm, cause I am getting this error:
    Packaging services (azd package)
    (x) Failed: Packaging service backend
    ERROR: error executing step command 'package --all': failed packaging service 'backend': failed invoking event handlers for 'prepackage', 'prepackage' hook failed with exit code: '1', Path: 'C:\Users\volsh\AppData\Local\Temp\azd-prepackage-4040297706.ps1'. : exit code: 1, stdout: , stderr: npm: C:\Users\volsh\AppData\Local\Temp\azd-prepackage-4040297706.ps1:4
    Line |
    4 | cd ../frontend;npm install;npm run build
    | ~~~
    | The term 'npm' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the
    | spelling of the name, or if a path was included, verify that the path is correct and try again.
    Thanks and have a good time