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

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 พ.ค. 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...
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @martg0
    @martg0 2 หลายเดือนก่อน +3

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

  • @dhruvpatel2554
    @dhruvpatel2554 2 หลายเดือนก่อน +3

    Awesome stuff !!!!

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

  • @osamaa.h.altameemi5592
    @osamaa.h.altameemi5592 2 หลายเดือนก่อน

    this is next level. OpenAI got some serious competition.

  • @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 9 วันที่ผ่านมา

    Very Helpful.

  • @thierry-le-frippon
    @thierry-le-frippon 2 หลายเดือนก่อน +6

    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.

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

    Hi, this api have function calling? regards

  • @benben2846
    @benben2846 2 หลายเดือนก่อน +1

    tu est fort man ^^👍

  • @vishnuprabhaviswanathan546
    @vishnuprabhaviswanathan546 2 หลายเดือนก่อน

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

  • @mickelodiansurname9578
    @mickelodiansurname9578 2 หลายเดือนก่อน

    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  2 หลายเดือนก่อน

      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  2 หลายเดือนก่อน +2

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

  • @jonoburcham4059
    @jonoburcham4059 2 หลายเดือนก่อน +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  2 หลายเดือนก่อน +1

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

  • @bobsmithy3103
    @bobsmithy3103 2 หลายเดือนก่อน

    Can it run other models?

  • @jmay3230
    @jmay3230 2 หลายเดือนก่อน

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

    • @engineerprompt
      @engineerprompt  2 หลายเดือนก่อน

      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

  • @user-yz8tf3uv4y
    @user-yz8tf3uv4y 2 หลายเดือนก่อน +3

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

    • @engineerprompt
      @engineerprompt  2 หลายเดือนก่อน +1

      That's coming soon

  • @ramimithalouni6592
    @ramimithalouni6592 2 หลายเดือนก่อน +1

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

    • @easy-dashboard
      @easy-dashboard 2 หลายเดือนก่อน

      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)

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

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

    • @engineerprompt
      @engineerprompt  หลายเดือนก่อน +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

  • @siriyakcr
    @siriyakcr 2 หลายเดือนก่อน +1

    Wow

  • @hmsfaceface8925
    @hmsfaceface8925 2 หลายเดือนก่อน +4

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

    • @coyoteq
      @coyoteq 2 หลายเดือนก่อน

      Bcoz of groq tpu...

  • @sausage4mash
    @sausage4mash 2 หลายเดือนก่อน +7

    did someone say free

    • @engineerprompt
      @engineerprompt  2 หลายเดือนก่อน +2

      For the time being :)

  • @prestonmccauley43
    @prestonmccauley43 2 หลายเดือนก่อน

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

  • @CharlesDonboscoA
    @CharlesDonboscoA 2 หลายเดือนก่อน

    Hi whether it's free or paid ?

    • @engineerprompt
      @engineerprompt  2 หลายเดือนก่อน +1

      Free at the moment

  • @ZombieJig
    @ZombieJig 2 หลายเดือนก่อน +2

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

    • @thierry-le-frippon
      @thierry-le-frippon 2 หลายเดือนก่อน +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 2 หลายเดือนก่อน

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

  • @savire.ergheiz
    @savire.ergheiz 2 หลายเดือนก่อน +1

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

  • @geo4design
    @geo4design 2 หลายเดือนก่อน

    This is an AD