Это видео недоступно.
Сожалеем об этом.

Simple App to Question Your Docs: Leveraging Streamlit, Hugging Face Spaces, LangChain, and Claude!

Поделиться
HTML-код
  • Опубликовано: 13 авг 2024
  • THIS IS A REUPLOAD: The original title/description/thumbnail of the video were not representative of the content, so I recreated the video to be more clear. This is a non-comprehensive tutorial - but you can look forward to more in-depth tutorials for LangChain in the coming weeks!
    We create an app to upload Canadian bills and ask the AI questions. Using Streamlit and Langchain, you can quickly build and deploy AI assistants without needing machine learning expertise.
    🖥️Check out the code: github.com/chr...
    🔗Learn more about Anthropic: www.anthropic....
    🔗Learn more about Langchain: python.langcha...
    About me:
    Follow me on LinkedIn: / csalexiuk
    Check out what I'm working on: getox.ai/
    #generativeai #anthropic #claude

Комментарии • 19

  • @chrisalexiuk
    @chrisalexiuk  Год назад +1

    Hey all!
    Just want to be sure the content I upload is well represented by the thumbnail/description/title!

  • @dipankar_medhi
    @dipankar_medhi Год назад +2

    Awesome app Chris. Would love to see more content on building applications with LangChain.

  • @tradingwithwill7214
    @tradingwithwill7214 Год назад +1

    This is great. I’m in New Brunswick and was thinking of pulling in the provincial bills etc.

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

      Nice! There's so much information in each bill, so I'm sure it would work great!

  • @guyindisguise
    @guyindisguise Год назад +1

    Very cool. I'm looking forward to the langchain video(s). Also would be cool to show how to self-host an app like this.

  • @awa8766
    @awa8766 Год назад +2

    Love it! In addition to Langchain, it' be great if you can show how to wrap Langchain apps with front end frameworks like React/Flask/NextJS etc.

    • @chrisalexiuk
      @chrisalexiuk  Год назад +1

      That's definitely an interesting topic! I will look at incorporating some of that into LangChain/FastAPI content!
      React as a frontend is so much better than Streamlit/Gradio, for sure - once you have the time/resources to include it!

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

      @@chrisalexiuk That'd be great! I'm trying to create a frontend integrating LangChain, but my lack of frontend knowledge has been a huge bottleneck. Two quick follow-up questions:
      1. Why did you use LLMChain instead of retreivalqawithsources chain? I'm curious as to if the output would be different as I'm currently using the latter.
      2. Why did you not incorporate an embedding -> index & vector db initialization step?

  • @DiegoNaranjo79
    @DiegoNaranjo79 Год назад +1

    Very nice video!!! It would be great if you could make a demo of a chatbot integrated with a mysql or some database, to search for information for the chatbot, so that it can take reference of prices, products and stock for example to respond to customers. For now I have not found such a tutorial. Thank you very much.

  • @sportscardvideos
    @sportscardvideos Год назад +1

    How do we keep asking questions. Continuing the chat down the page with followup questions.

    • @chrisalexiuk
      @chrisalexiuk  Год назад +1

      You'd need to modify the app as it stands - while it remembers the history, it doesn't showcase it.

  • @patrikpatrik4651
    @patrikpatrik4651 Год назад +1

    Thanks for your great videos!!! There is one thing that I have not understood. If I just have one document that fit within the token limits, as with Claude in your video, I guess you will have the best possibilities to ask question to your file (i.e. get the best possible answers from the text). But if I want to ask question to several files or files larger than the token limit, then I can split the text into chunks and make a vector search. Is there an option to instead fine tune a model using Lora to include my documents? If so, would that be a more efficient/correct way for asking question on my documents, or is vector search better? Is uploading the complete document as you did the best (most correct way, provided the documents fit the token limit)?

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

      That's a complicated question with a fairly in depth answer.
      Honestly, using something like vector DBs and hooking LangChain up to a decent model is likely to be the fastest build - with acceptable results.

  • @sanesanyo
    @sanesanyo Год назад +1

    Great video Chris. I am waiting for the access to Claude. 100k context window is a game changer in my opinion. This is a seismic change from 8k context window GPT4 currently offers to most users. In terms quality of responses, is Claude at the same level of GPT4? I have not seen any videos comparing their performance so that is why the question. Thanks.

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

      I find both to be more suitable to different tasks - OpenAI's model is less "on rails" than Claude, but is also not as great at following simple directions a lot of the time.
      It's worth doing a comparison video at some point, I believe.

  • @dinkusstinkus4396
    @dinkusstinkus4396 Год назад +1

    Ah yes the langchain tutorial app