Build Your Own AI Twitter Bot Using LLMs

2024 ж. 12 Мам.
11 321 Рет қаралды

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

Пікірлер
  • That Josh Hart tweet caught me off guard 🤣. Great video!

    @CarlosLucero-bp2dm@CarlosLucero-bp2dm11 ай бұрын
  • Thanks for always making practical tutorials. It helps a lot

    @oshodikolapo2159@oshodikolapo215911 ай бұрын
  • this video is masterfully made, great work

    @anonymous6666@anonymous666611 ай бұрын
  • Thank you for sharing!

    @rossgalvanofficial@rossgalvanofficial11 ай бұрын
  • 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!

    @chorltondragon@chorltondragon9 ай бұрын
  • awesome project :)

    @TGLTommy@TGLTommy9 ай бұрын
  • love this !!!

    @eugeniocg3079@eugeniocg307911 ай бұрын
  • 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.

    @mrtembo1995@mrtembo199511 ай бұрын
    • Nice! Glad to hear it thank you

      @DataIndependent@DataIndependent11 ай бұрын
  • 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?

    @cazaglets8361@cazaglets83618 ай бұрын
  • good to see it

    @paparaoveeragandham284@paparaoveeragandham28423 күн бұрын
  • Greg thanks. Could you create a tutorial with a complete deployment of one of your llm models?

    @RunyCalmera@RunyCalmera9 ай бұрын
    • Thanks Runy - what do you mean complete deployment? Like self-hosting a model on your own hardware in the cloud?

      @DataIndependent@DataIndependent8 ай бұрын
    • Yes. I mean deploying it in the cloud on Railway. Step by step. So it can be used.

      @runycalmera-business@runycalmera-business8 ай бұрын
  • 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!

    @migalv_17@migalv_1711 ай бұрын
    • Nice! I can think about it! What’s the actual problem or use case you’re trying to solve for?

      @DataIndependent@DataIndependent11 ай бұрын
    • 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_1711 ай бұрын
    • @@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.

      @migalv_17@migalv_1711 ай бұрын
  • 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 ?

    @majidmunir2188@majidmunir21882 ай бұрын
    • I believe the functionality here starts to dip into the paid side

      @DataIndependent@DataIndependent2 ай бұрын
    • @@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.

      @majidmunir2188@majidmunir21882 ай бұрын
  • I did not know airtable nor railway so that is a new area for me for deployment.

    @RunyCalmera@RunyCalmera9 ай бұрын
    • Nice - ya railway is a pretty easy set up. I've had fun with it so far

      @DataIndependent@DataIndependent8 ай бұрын
  • What is prompt injection?

    @jstello@jstello8 ай бұрын
  • I don't trust a coder short on spaces.

    @naromsky@naromsky8 ай бұрын
KZhead