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

Поделиться
HTML-код
  • Опубликовано: 2 июл 2024
  • Click here to follow along: github.com/langflow-ai/langflow
    CSV file: docs.google.com/spreadsheets/...
    Found this hard? Learn the fundamentals of JavaScript here: www.codewithania.com
    🚀 Sign up to www.codewithania.com to receive access for the final code.
    ____
    ⭐ Check out my IDE here and get 1 month free: jb.gg/get_webstorm
    ⭐ New to code and none of this is making sense? Watch my '12hr+ RUclips 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.buymeacoffee.com/aniakubow
    ⭐ 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
  • РазвлеченияРазвлечения

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

  • @gentek1074
    @gentek1074 Месяц назад +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 Месяц назад +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 Месяц назад +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 19 дней назад

      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 19 дней назад

      @@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!!!!!

  • @stell4you
    @stell4you Месяц назад +10

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

  • @biorig
    @biorig Месяц назад +1

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

  • @thequickstartcreative
    @thequickstartcreative Месяц назад +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 14 дней назад

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

  • @ewk4688
    @ewk4688 18 дней назад +1

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

  • @RealLexable
    @RealLexable 8 дней назад +1

    Error unsupported message type: ???

  • @iainhmunro
    @iainhmunro 13 часов назад

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

  • @thefreakguy1946
    @thefreakguy1946 19 дней назад

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

  • @kazekageoftheeast6130
    @kazekageoftheeast6130 28 дней назад

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

  • @davidef.982
    @davidef.982 23 дня назад

    All your tutorials are amazing ! Thanks a million

    • @aniakubow
      @aniakubow  23 дня назад

      So nice of you to say :)

    • @davidef.982
      @davidef.982 23 дня назад

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

  • @saarza9991
    @saarza9991 Месяц назад +2

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

  • @iainhmunro
    @iainhmunro День назад

    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

  • @bluewhale0908
    @bluewhale0908 16 дней назад

    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.

  • @Sobieski526
    @Sobieski526 26 дней назад

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

  • @RealLexable
    @RealLexable 9 дней назад

    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

  • @denisalbertocosivasquez6907
    @denisalbertocosivasquez6907 Месяц назад +1

    Saludos desde Lima - Perú.

  • @khalidelgazzar
    @khalidelgazzar Месяц назад +1

    On my watch list😊

  • @nastastic
    @nastastic Месяц назад +1

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

    • @aniakubow
      @aniakubow  Месяц назад

      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

  • @ewk4688
    @ewk4688 18 дней назад

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

    • @orthodox_gentleman
      @orthodox_gentleman 17 дней назад

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

  • @ArekMateusiak
    @ArekMateusiak 25 дней назад

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

    • @aniakubow
      @aniakubow  25 дней назад

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

    • @ArekMateusiak
      @ArekMateusiak 25 дней назад

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

  • @ustaticdb
    @ustaticdb Месяц назад

    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

  • @uckurus2100
    @uckurus2100 27 дней назад

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

    • @aniakubow
      @aniakubow  27 дней назад

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

  • @kokoabassplayer
    @kokoabassplayer Месяц назад

    thank you

  • @RealLexable
    @RealLexable Месяц назад +2

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

    • @rodrigosnader
      @rodrigosnader Месяц назад

      Yep, it is available in Langflow :)

    • @aniakubow
      @aniakubow  Месяц назад +1

      Yessss we use it in the tutorial :)

  • @cliffwidener7700
    @cliffwidener7700 26 дней назад

    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?

  • @sihabaakil7806
    @sihabaakil7806 23 дня назад

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

    • @aniakubow
      @aniakubow  23 дня назад

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

  • @uckurus2100
    @uckurus2100 27 дней назад

    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  27 дней назад

      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

  • @changtimwu
    @changtimwu Месяц назад +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  Месяц назад

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

  • @its_code
    @its_code Месяц назад

    ❤❤❤

  • @jpbaello
    @jpbaello 22 дня назад

  • @jasper2virtual
    @jasper2virtual 22 дня назад +1

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

  • @markofcain1443
    @markofcain1443 28 дней назад

    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  28 дней назад

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

    • @markofcain1443
      @markofcain1443 27 дней назад

      @@aniakubow yes :(

    • @markofcain1443
      @markofcain1443 27 дней назад

      @@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  27 дней назад

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

    • @markofcain1443
      @markofcain1443 27 дней назад

      @@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 Месяц назад

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

  • @mupreport
    @mupreport Месяц назад

    first

  • @jpbaello
    @jpbaello 20 дней назад

    The video is so shaky

    • @aniakubow
      @aniakubow  19 дней назад +1

      I am not sure what you mean by shaky. It’s a screen recording ?

  • @UCcdTp7XpCkVLkaRCsDcifFg
    @UCcdTp7XpCkVLkaRCsDcifFg Месяц назад +1

    kubow realy hot

  • @orthodox_gentleman
    @orthodox_gentleman 17 дней назад

    This isn’t multiple LLM’s

    • @aniakubow
      @aniakubow  16 дней назад

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

  • @WannaWatchMeCode
    @WannaWatchMeCode 10 дней назад

    Delete that open api key!

    • @aniakubow
      @aniakubow  9 дней назад +1

      It’s disabled :)

  • @jakobkoprivnik6372
    @jakobkoprivnik6372 Месяц назад

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

  • @Nasrullah0
    @Nasrullah0 9 дней назад

    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 Месяц назад

    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. :)