Combine MULTIPLE LLMs to build an AI API! (super simple!!!) Langflow | LangChain | Groq | OpenAI

Sdílet
Vložit
  • čas přidán 26. 08. 2024
  • Click here to follow along: github.com/lan...
    CSV file: docs.google.co...
    Found this hard? Learn the fundamentals of JavaScript here: www.codewithan...
    🚀 Sign up to www.codewithan... to receive access for the final code.
    ____
    ⭐ Check out my IDE here and get 1 month free: jb.gg/get_webs...
    ⭐ New to code and none of this is making sense? Watch my '12hr+ CZcams Coding Bootcamp' in which you will learn HTML, CSS and JavaScript Fundamentals completely from scratch. It's on my channel and its 100% free.
    ⭐ If you would like to buy me a coffee, well thank you very much that is mega kind! : www.buymeacoff...
    ⭐ Sign up for weekly coding tips from my newsletter partnership: bit.ly/JS-tips
    You can also find me on:
    Twitter: / ania_kubow
    Instagram: / aniakubow

Komentáře • 78

  • @gentek1074
    @gentek1074 Před měsícem +8

    Second! Ania you’re freaking awesome. I been playing with LangChain and LangFlow looks sick! I’m excited to join you on this session 🎉

  • @biorig
    @biorig Před měsícem +3

    I have no idea about programming, and I went 'Monkey see, monkey do'. Thanks to Ania, saying, 'this thing here, that thing there', I was able to follow through a lot without actually knowing what it does. This is so cool.

  • @JagdeepSingh-or5ke
    @JagdeepSingh-or5ke Před měsícem +16

    amazing tutorial, Ania. I would love to see how we can host this or turn it into a fully functioning SaaS. I'm guessing it involves proper integration of the app logic in vs code along with docker or maybe there's an easier way?

    • @daffertube
      @daffertube Před měsícem

      Yes. You'd containerize the application for scalability. You can expose a langflow as an API which may also need containerization, depending on if it contains business critical logic.

    • @JagdeepSingh-or5ke
      @JagdeepSingh-or5ke Před měsícem

      @@daffertube thank you so much. I think I understand 50% of what you said. I believe Docker is famously used for containerising. I’ll figure something out. Thanks for the help!!!!!

  • @biorig
    @biorig Před měsícem +1

    Thank you so much for making this easy!
    Greetings from a medical professional.

  • @stell4you
    @stell4you Před měsícem +10

    I'm not sure if you know how many "experts" there are making a lot of money on training courses for this content.

  • @thequickstartcreative
    @thequickstartcreative Před měsícem +1

    Once again, great video. I was able to get this to work. My information is a bit complex so I actually had to run the output through a script to format it properly. This does mean I can't stream the output but I noticed the output was only streaming in the playground and not with the API.

  • @duponce
    @duponce Před měsícem

    Your content is incredible, the best I've seen so far, I'm impressed. Congratulations

  • @RealLexable
    @RealLexable Před měsícem +1

    Error unsupported message type: ???

  • @Sobieski526
    @Sobieski526 Před měsícem

    Would love to see something similar for a Midjourney/Stable Diffusion API

  • @sirishkumar-m5z
    @sirishkumar-m5z Před 15 dny

    Awesome guide on combining multiple LLMs! Another great tool to consider is Cohere, which offers versatile LLMs that are easy to integrate into your projects. #LLMs #Cohere

  • @saarza9991
    @saarza9991 Před měsícem +2

    Ania is not only an extremely professional software engineer, but also very beautiful. God bless you ❤🙏

  • @davidef.982
    @davidef.982 Před měsícem

    All your tutorials are amazing ! Thanks a million

    • @aniakubow
      @aniakubow  Před měsícem

      So nice of you to say :)

    • @davidef.982
      @davidef.982 Před měsícem

      @@aniakubow once again, thanks to you … 🫶🏻

  • @RealLexable
    @RealLexable Před měsícem

    also nice body language when all your asking in return while grabing your ringfinger :D..Sorry but sadly i am not that rich enough for you yet :), but highly love and appreciate your content

  • @thefreakguy1946
    @thefreakguy1946 Před měsícem

    mam u are the best...thanks to GOD i found this channel

  • @denisalbertocosivasquez6907
    @denisalbertocosivasquez6907 Před měsícem +1

    Saludos desde Lima - Perú.

  • @khalidelgazzar
    @khalidelgazzar Před měsícem +1

    On my watch list😊

  • @changtimwu
    @changtimwu Před měsícem +1

    21:13. "You can only compare vector embeddings against each other if they are created from the same LLM." This is slightly inaccurate. I would suggest saying, "if both embeddings are created from the same embedding model."

    • @aniakubow
      @aniakubow  Před měsícem

      That is a good point - I should have been more accurate. Thanks for pointing this out

    • @wesleymogaka
      @wesleymogaka Před 8 dny

      Accurate

  • @Rohittarkar175
    @Rohittarkar175 Před 11 dny

    Can you please make a video
    about how to train model to generate inages .

  • @RealLexable
    @RealLexable Před měsícem +2

    Would be Ollama possible as well? And great work as usual❤

    • @rodrigosnader
      @rodrigosnader Před měsícem

      Yep, it is available in Langflow :)

    • @aniakubow
      @aniakubow  Před měsícem +1

      Yessss we use it in the tutorial :)

  • @nirzortalukder6832
    @nirzortalukder6832 Před 8 dny

    Hey, Thanks a lot for the awesome video. I have a question.
    I created a RAG app on Langflow provided inside the Datastax website. But I cannot find the API option, which is on the bottom right corner of your screen. Why is that?
    Are you using the Datastax website's Langflow or a locally installed one?

  • @jasper2virtual
    @jasper2virtual Před měsícem +1

    The world is so unfair, you are gorgeous and smart. But I admire you are so hardworking .

  • @iainhmunro
    @iainhmunro Před 22 dny

    I did get the web chatbot to load and run locally, but what is the best way to deploy on the internet ?

  • @ewk4688
    @ewk4688 Před měsícem +1

    do we need to host langflow in our server for scalability?

    • @wesleymogaka
      @wesleymogaka Před 8 dny

      Yes you can, but there is a hosted version

  • @iainhmunro
    @iainhmunro Před 22 dny

    Followed everything you did and get e great little chatbot out of it and it didnt take long to recreate. Just a couple of questions. I took the code for embedding into a website. Most chatbots have the button at the bottom and the chatbot goes up - langflow goes down, so that is not ideal. Also, how could you add in a logo onto the chatbot ? Many thanks

  • @nastastic
    @nastastic Před měsícem +1

    How much would this cost to run on the api side? total cost roughly when deployed to production.

    • @aniakubow
      @aniakubow  Před měsícem

      You can use open source LLM to cut cost, and then it just becomes a database cost that depends on your website traffic :) Datastax has a generous free tier

  • @bluewhale0908
    @bluewhale0908 Před měsícem

    Awesome video tutorial. Thank you for doing this. One question, is there any way to upload a file to be trained via api to langflow file component? Thanks again.

    • @wesleymogaka
      @wesleymogaka Před 8 dny

      Try editing the python API behind the component or create your own. Most Components are basically function with inputs (on the right) and outputs (on the left).

  • @ustaticdb
    @ustaticdb Před měsícem

    Hi Ania, I’ve found very interesting a video demonstration of API calls using a proxy and Cryptography but since you launched your website that video was removed or something

  • @cliffwidener7700
    @cliffwidener7700 Před měsícem

    Around the 20min mark: Why can’t I just put the unabridged dictionary in as the Astra database, then the computer will understand which words are more similar to each other and at the same time which words are dissimilar?

  • @ewk4688
    @ewk4688 Před měsícem

    do we need Visual C++ 14.0 to run this langflow ??

    • @orthodox_gentleman
      @orthodox_gentleman Před měsícem

      What? No! Langflow is python based. Very few Ai apps are built using Visual C++

  • @kazekageoftheeast6130
    @kazekageoftheeast6130 Před měsícem

    would you happen to know how to integrated the vertex ai embedding? i plan to use google generative AI too. thanks ania!

  • @uckurus2100
    @uckurus2100 Před měsícem

    i take same error when using to mongodb atlas. i never used any data before. how my plans did finish???

    • @aniakubow
      @aniakubow  Před měsícem

      Please use the free server regions if you are not :)

  • @sihabaakil7806
    @sihabaakil7806 Před měsícem

    Astra db component has a another option Vector Store what do we do now

    • @aniakubow
      @aniakubow  Před měsícem

      Oh it has changed? Yes you would need to use the vector store for vector embeddings :)

  • @ArekMateusiak
    @ArekMateusiak Před měsícem

    Hi, did you try playing with Vertex AI and langflow? I seem to have issue with it :-/

    • @aniakubow
      @aniakubow  Před měsícem

      Oh really? The LangFlow team are pretty responsive - definitely worth getting in touch with them about this

    • @ArekMateusiak
      @ArekMateusiak Před měsícem

      @@aniakubow I will touch base with them. Maybe they will be able to help me :-) Thank you for the hint!

  • @kokoabassplayer
    @kokoabassplayer Před měsícem

    thank you

  • @uckurus2100
    @uckurus2100 Před měsícem

    I've never used astradb before but I still get a quota limit warning. Isn't there a free way to do this? $1000 is too much.

    • @aniakubow
      @aniakubow  Před měsícem

      I use the free tier. Did you follow the same steps? 🤔 some servers/regions are paid so make sure to use a free one when creating a database

  • @markofcain1443
    @markofcain1443 Před měsícem

    hi, when i try to connect everything to Astra DB, i get an error saying: 'You exceeded
    your current quota, please check your
    plan and billing details."
    How can i fix it?

    • @aniakubow
      @aniakubow  Před měsícem

      It seems you have hit your free quota :) are you using the free tier?

    • @markofcain1443
      @markofcain1443 Před měsícem

      @@aniakubow yes :(

    • @markofcain1443
      @markofcain1443 Před měsícem

      @@aniakubow I fixed the issue by replacing the openai embedding with cohere. But now I get an error saying: ValueError: Error initializing
      AstraDBVectorStore: status_code: 401,
      body: {'message': 'invalid api token'}
      What do I do?

    • @aniakubow
      @aniakubow  Před měsícem

      @@markofcain1443 check the api token for your Astra db token is the same that you are using for the Astra component

    • @markofcain1443
      @markofcain1443 Před měsícem

      @@aniakubow I used the generated token for Astra components. The vs code terminal gives this error at the same time: Retrying langchain_community.embeddings.cohere.CohereEmbeddings.embed_with_retry.._embed_with_retry in 4.0 seconds as it raised UnauthorizedError: status_code: 401, body: {'message': 'invalid api token'}.

  • @oysterboulevard6623
    @oysterboulevard6623 Před měsícem

    Hi i saw a chinese website thats use the same thing, i think they are out of a job now.

  • @its_code
    @its_code Před měsícem

    ❤❤❤

  • @orthodox_gentleman
    @orthodox_gentleman Před měsícem

    This isn’t multiple LLM’s

    • @aniakubow
      @aniakubow  Před měsícem

      Use use OpenAI and llama and I show you how to add more :)

  • @WannaWatchMeCode
    @WannaWatchMeCode Před měsícem

    Delete that open api key!

  • @jakobkoprivnik6372
    @jakobkoprivnik6372 Před měsícem

    You are getting more attractive in each new video, how is that possible?

  • @UCcdTp7XpCkVLkaRCsDcifFg
    @UCcdTp7XpCkVLkaRCsDcifFg Před měsícem +1

    kubow realy hot

  • @mupreport
    @mupreport Před měsícem

    first

  • @nasr-rsln
    @nasr-rsln Před měsícem

    the only down side of your videos is that its very hard to focus on the coding and ignore your beautiful gorgeous eyes.

  • @user-ff2ed6dh8x
    @user-ff2ed6dh8x Před měsícem

    is it really possible to learn when you have such a bloddy droped from haven beauty infront of you. i came to learn llm better but couldnt focus, all went up my head cause i was so danm lost in her eyes. :)