Getting Started with Groq API | Making Near Real Time Chatting with LLMs Possible

Поделиться
HTML-код
  • Опубликовано: 8 июн 2024
  • Let's have a look at the Groq API that offers access to their Language Processing Units (LPUs) for free (for a limited time). The API can provide close to 500 tokens per second with Mixtral-8x7B. Enjoy :)
    🦾 Discord: / discord
    ☕ Buy me a Coffee: ko-fi.com/promptengineering
    |🔴 Patreon: / promptengineering
    💼Consulting: calendly.com/engineerprompt/c...
    📧 Business Contact: engineerprompt@gmail.com
    Become Member: tinyurl.com/y5h28s6h
    💻 Pre-configured localGPT VM: bit.ly/localGPT (use Code: PromptEngineering for 50% off).
    LINKS:
    Signup for API Access: groq.com/
    Colab Notebook: tinyurl.com/2nxdv2m8
    Streamlit Chatbot: tinyurl.com/3f485knj
    TIMESTAMPS:
    [00:00] Introduction
    [00:34] How to Access the Groq API?
    [01:06] API Playground
    [03:15] Getting Started with Groq API
    [05:33] Near real-time speed
    [07:24] Advanced API Features: Streaming and Stop Sequences
    [11:02] Building a Chatbot with Streamlit and Grok API
    All Interesting Videos:
    Everything LangChain: • LangChain
    Everything LLM: • Large Language Models
    Everything Midjourney: • MidJourney Tutorials
    AI Image Generation: • AI Image Generation Tu...
  • НаукаНаука

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

  • @martg0
    @martg0 3 месяца назад +4

    Thanks for the video! I will start testing this API with a POC I am working now to learn.

  • @dhruvpatel2554
    @dhruvpatel2554 3 месяца назад +4

    Awesome stuff !!!!

  • @osamaa.h.altameemi5592
    @osamaa.h.altameemi5592 3 месяца назад

    this is next level. OpenAI got some serious competition.

  • @thierry-le-frippon
    @thierry-le-frippon 3 месяца назад +9

    They should sell their LPUs instead and compete with Nvidia. They would surely get lots of backup and investments. They will probably be copied instead othetwise and fade away quickly.

  • @KOTAGIRISIVAKUMAR
    @KOTAGIRISIVAKUMAR 2 месяца назад +1

    why you cant use the conversational retrieval chain instead of the conversation chain Because it can handle the memory by default no need maintain externally?
    @prompt Engineering

  • @DestanBegu
    @DestanBegu 2 месяца назад +1

    Thanks for your content! I´m using Streamlit as well and want to give Content as the System role. For Example "answer me in short sentences in italian" so it will do this for each prompt i do. Where can i do this in the code? I used the Streamlit Chatbot Repo.
    Thanks in advance

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

    Very Helpful.

  • @jonoburcham4059
    @jonoburcham4059 3 месяца назад +6

    Great video! Can ou make a voice chatbot using groq in one of your next videos please? I would also love to see if you do this on streamlit or if it's too slow and you use something else. Thanks so much for your videos

    • @engineerprompt
      @engineerprompt  3 месяца назад +1

      Planning on making that. For voice chatbot, might just do cli though

  • @benben2846
    @benben2846 3 месяца назад +1

    tu est fort man ^^👍

  • @user-yz8tf3uv4y
    @user-yz8tf3uv4y 3 месяца назад +3

    Please Create a step-by-step video guide on using the Groq API with Streamlit.

  • @vishnuprabhaviswanathan546
    @vishnuprabhaviswanathan546 3 месяца назад

    How to control the output of LLM for a single input?

  • @mickelodiansurname9578
    @mickelodiansurname9578 3 месяца назад

    Heres the question, can Groq cards also work on inference for art and audio and voice models? or is it just LLM inference specific? It is like, well superfast... the only worry is literally the latency from you to the endpoint... so if its say, a streaming interruptible feed you are giving the model then the use cases for TTS and Speech applications just went through the damn roof!

    • @engineerprompt
      @engineerprompt  3 месяца назад

      I am not sure but I was listening to Chamath (who is an investor in Groq) and he was talking about the initial use cases of the hardware. Seems like they were focused on vision so it might have the ability

    • @engineerprompt
      @engineerprompt  3 месяца назад +2

      I am trying to put together an example for end to end speech conversation, let's see how that goes

  • @jmay3230
    @jmay3230 3 месяца назад

    If temp can adjust to minus what is impact on generation ( consider it as hypothetical if case don't exist )

    • @engineerprompt
      @engineerprompt  3 месяца назад

      It will be same as setting it zero :) basically if you set it zero, it will pick the next most probable token. If you set a higher value, it can to sample among the most probable tokens

  • @ramimithalouni6592
    @ramimithalouni6592 3 месяца назад +1

    what is the time to receive the first chunk in streaming?

    • @easy-dashboard
      @easy-dashboard 3 месяца назад

      Depends on the amount of input tokens. With a one line instructions it's below 1 second. If you include context of a RAG-System it will go up to 3 seconds to start the first token (30k tokens of context)

  • @jesusleguizamon6566
    @jesusleguizamon6566 2 месяца назад

    Hi, this api have function calling? regards

  • @bobsmithy3103
    @bobsmithy3103 3 месяца назад

    Can it run other models?

  • @sausage4mash
    @sausage4mash 3 месяца назад +7

    did someone say free

  • @siriyakcr
    @siriyakcr 3 месяца назад +1

    Wow

  • @hmsfaceface8925
    @hmsfaceface8925 3 месяца назад +4

    how can the groq fpga use mixtral 8x7b with just 250gigs of vram?

    • @coyoteq
      @coyoteq 3 месяца назад

      Bcoz of groq tpu...

  • @Francotujk
    @Francotujk 2 месяца назад

    What are the rate limits of the free api? Is it necessary to provide credit card?

    • @engineerprompt
      @engineerprompt  2 месяца назад +2

      It's free at the moment and there is a rate limit as well. Seems to keep changing. Last time I checked, it was around 20 messages per minute

  • @prestonmccauley43
    @prestonmccauley43 3 месяца назад

    I tried a few things with this and it is incredibly fast.

  • @ranaayushmansingh2368
    @ranaayushmansingh2368 3 дня назад

    can we fine tune this and use it?

  • @CharlesDonboscoA
    @CharlesDonboscoA 3 месяца назад

    Hi whether it's free or paid ?

  • @ZombieJig
    @ZombieJig 3 месяца назад +2

    Fuck all these cloud only AI services, release the cards!

    • @thierry-le-frippon
      @thierry-le-frippon 3 месяца назад +1

      Yes, otherwise they will fade away quickly. Their window of opportunity is small. Money is looking at eating in the nvidia cake now not tomorrow.

  • @conciousaizielia
    @conciousaizielia 2 месяца назад

    Grok is not a llm it can run a llm

  • @TheJscriptor09
    @TheJscriptor09 3 месяца назад

    YALLM ... it is almost becoming daily news ... Yet Another LLM.

  • @savire.ergheiz
    @savire.ergheiz 3 месяца назад +1

    Fast but useless. These oss models still way far behind cgpt4.

  • @geo4design
    @geo4design 3 месяца назад

    This is an AD