Build Your Own AI Twitter Bot Using LLMs

Sdílet
Vložit
  • čas přidán 8. 07. 2024
  • Twitter: / gregkamradt
    Newsletter: mail.gregkamradt.com/signup
    Bot Code: github.com/gkamradt/twitter-r...
    Prompt Notebook: github.com/gkamradt/langchain...
    Railway: railway.app?referralCode=bLAYd1 (Note: Using this link helps support the channel)
    Twitter Developer Portal: / dashboard
    0:00 - Intro
    1:08 - Project Diagram
    1:42 - Prompt Editing
    6:43 - Full App
    10:20 - Push To Github
    11:16 - Deploy Code (Railway.app)
    14:57 - Test On Twitter
    18:21 - Outro

Komentáře • 28

  • @CarlosLucero-bp2dm
    @CarlosLucero-bp2dm Před rokem +3

    That Josh Hart tweet caught me off guard 🤣. Great video!

  • @oshodikolapo2159
    @oshodikolapo2159 Před rokem +2

    Thanks for always making practical tutorials. It helps a lot

  • @anonymous6666
    @anonymous6666 Před rokem

    this video is masterfully made, great work

  • @chorltondragon
    @chorltondragon Před 11 měsíci +1

    Another well constructed, concise and massively informative video. I'm brand new to both AI and Python and I find your videos extremely useful. Thank you!

  • @paparaoveeragandham284
    @paparaoveeragandham284 Před 2 měsíci

    good to see it

  • @rossgalvanofficial
    @rossgalvanofficial Před rokem

    Thank you for sharing!

  • @eugeniocg3079
    @eugeniocg3079 Před rokem

    love this !!!

  • @mrtembo1995
    @mrtembo1995 Před rokem +1

    Thank you so much, this is one of the best AI channels I've found, It has really helped me a lot in my own projects.

  • @TGLTommy
    @TGLTommy Před 11 měsíci

    awesome project :)

  • @cazaglets8361
    @cazaglets8361 Před 10 měsíci

    Thanks for sharing. This video has been super informative and helpful! I was easily able to follow along but I ran into issues with implementing Airtable, so I omitted that step and the bot worked like a charm.
    Question: Is there a way that I could edit the script so the bot would include a random photo that I have in a folder (of about 1500 photos) in each tweet/post?

  • @majidmunir2188
    @majidmunir2188 Před 4 měsíci

    great video Greg! thanks for this i want to know that to retrieve the mentions of the twitter account does the Account requires to be upgraded or the free plan account can work for this ?

    • @DataIndependent
      @DataIndependent  Před 4 měsíci

      I believe the functionality here starts to dip into the paid side

    • @majidmunir2188
      @majidmunir2188 Před 4 měsíci

      @@DataIndependent thank you for the response and yes it is not available for the free version as per documentation you are only allowed to create or delete post.

  • @migalv_17
    @migalv_17 Před rokem +1

    Hey Greg, I've been following your LangChain tutorials for a while. I've started playing with the library a bit on my free time.
    Do you think you could make a video on how to use LangChain to extract information from large JSON files (that probably don't fit in a single prompt) without loosing too much context so then we can execute natural language queries on them. Also if you're up for it I was thinking of doing a similar thing for HTML where the chain would extract the most relevant information from a HTML file and create some kind of structured document or documents that could be queried using natural language queries.
    Great videos by the way, keep it up!

    • @DataIndependent
      @DataIndependent  Před rokem

      Nice! I can think about it!
      What’s the actual problem or use case you’re trying to solve for?

    • @migalv_17
      @migalv_17 Před rokem

      Hey @@DataIndependent, sorry for answering so late didn't get notified from your response. For the case of HTML files I was thinking of creating an AI using LangChain that would do web search by crawling into websites and retreiving the relevant information to fulfill a request from the user. So to do that I thought it would be useful to parse & store the HTML info in natural language form so we could query it using Vector Databases for example. This way we could scrape 10 or even 100 sites and then query the DB to retrieve only the relevant information. But I believe that if we store the sites as HTML the Vector DB is not going to work very well. Does this make sense?

    • @migalv_17
      @migalv_17 Před rokem

      @@DataIndependent I was also wondering if you could do a video where you explain how to use other LLMs and how to properly select the right LLM (for example from HuggingFace) instead of just using OpenAI which can be very expensive.

  • @RunyCalmera
    @RunyCalmera Před 10 měsíci

    Greg thanks. Could you create a tutorial with a complete deployment of one of your llm models?

    • @DataIndependent
      @DataIndependent  Před 10 měsíci

      Thanks Runy - what do you mean complete deployment? Like self-hosting a model on your own hardware in the cloud?

    • @runycalmera-business
      @runycalmera-business Před 10 měsíci

      Yes. I mean deploying it in the cloud on Railway. Step by step. So it can be used.

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

    So, it is possible that some Twitter profiles that are commenting and responding on people's tweets are also AI bots?

  • @jstello
    @jstello Před 10 měsíci

    What is prompt injection?

  • @RunyCalmera
    @RunyCalmera Před 10 měsíci

    I did not know airtable nor railway so that is a new area for me for deployment.

    • @DataIndependent
      @DataIndependent  Před 10 měsíci

      Nice - ya railway is a pretty easy set up. I've had fun with it so far

  • @naromsky
    @naromsky Před 10 měsíci

    I don't trust a coder short on spaces.