Joris de Jong Profile picture
I help you implement Generative AI | Every Saturday, I navigate the world of AI development with AI Unchained ⬇️
hank23 Profile picture 2 subscribed
Sep 19, 2023 16 tweets 5 min read
Remember that moment when you first heard about Generative AI?

One of the first things that caught my attention was the ability to 'talk' with PDF files.

Let's go back to the @LangChainAI basics and talk about why chunking is important for Retrieval Augmented Generation. 🧵 Image @LangChainAI I'll show you how you can create a simple Q&A bot in a couple of lines of code.

In step 4, I'll go a bit deeper on why smaller chunk sizes are important for Retrieval Augmented Generation.

Check the last message for GitHub Repo. Image
Aug 25, 2023 9 tweets 4 min read
Want to learn with YouTube, but don't have the time to watch videos?

AI's got you covered.

With 8 simple lines of @LangChainAI code, you've got yourself a YouTube Summarizer.

Here's how ⬇️

(GitHub Repo down below.) Image @LangChainAI 0/7 Install packages

For this code to work, you only need to install 4 packages:

- LangChain
- YouTube Transcript API
- OpenAI
- TikToken

Make sure to import dependencies in your Python file.

Next up: Loading the YouTube Transcript.
Image
Image
Aug 4, 2023 32 tweets 9 min read
Are you using ChatGPT to learn a subject?

Great.

But you can do better.

Today's mission: Create a Smart Studdy Buddy using @LangChainAI & @streamlit.

Let me show you how (code included) 🧵

#AI Image Before we dive in, this is day 4 of my LangChain Unchained series.

Each day, I'll implement a small LangChain project in Streamlit.

Follow @JorisTechTalk to stay up-to-date.

If there's anything you'd like to see, let me know!

Let's dive in:
Jul 25, 2023 12 tweets 5 min read
Mircrosoft Copilot and ChatGPT will be great for transcribing meetings.

But I don't have the patience to wait for the launch.

Today's mission: build a meeting/voice-note summarizer with @LangChainAI, @streamlit, and OpenAI's Whisper.

Let me show you how 🧵

GitHub Link ⬇️

#AI Image Before we dive in, this is day 3 of my LangChain Unchained series.

Each day, I'll implement a small LangChain project in Streamlit.

Follow @JorisTechTalk to stay up-to-date.

If there's anything you'd like to see, let me know!

Let's dive in:
Jul 18, 2023 22 tweets 6 min read
Working with ChatGPT feels like magic.

But did you know you can create AI-tools like ChatGPT yourself?

Unleash the potential by merging @LangChainAI and @streamlit.

Today's mission: craft a 4-hour workday blueprint based on @thedankoe's video.

Let me show you how 🧵 Image Before we dive in, this is day 1 of my LangChain Unchained series.

Each day, I'll implement a small LangChain project in Streamlit.

Follow @JorisTechTalk to stay up-to-date.

If there's anything you'd like to see, let me know!

Let's dive in:
Jun 28, 2023 23 tweets 8 min read
ChatGPT can give you a kick-start when learning new skills.

But I like to learn through YouTube videos.

With the power of @LangChainAI, you can generate a personalized YouTube study schedule based on a skill you'd like to learn.

Let me show you how: 🧵

#AI Before we dive in, this is day 7 of my '7 days of LangChain'.

Every day, I've introduced you to a simple project that will guide you through the basics of LangChain.

Today's a longer one.

Follow @JorisTechTalk to stay up-to-date on my next series.

Let's dive in:
Jun 25, 2023 15 tweets 5 min read
I love podcasts and the value they contain.

But ChatGPT doesn't have access to them.

With the power of @LangChainAI, it does! Let me show you how you can easily create a Podcast Chatbot & Summarizer.

Explanation and code 🧵

#AI Before we dive in, this is day 5 of my '7 days of LangChain'.

Every day, I'll introduce you to a simple project that will guide you through the basics of LangChain.

Follow @JorisTechTalk to stay up-to-date.

If there's anything you'd like to see, let me know!

Let's dive in:
Jun 22, 2023 11 tweets 4 min read
ChatGPT is great for studying.

But did you know you can use it to make mindmaps based on your study material?

Through the combined power of @LangChainAI and @XmindHQ you can.

Let's dive into the workflow and code 🧵

#AI Before we dive in, this is day 3 of my '7 days of LangChain'.

Every day, I'll introduce you to a simple project that will guide you through the basics of LangChain.

Follow @JorisTechTalk to stay up-to-date.

Let me know what you'd like to see

Let's dive in:
Jun 21, 2023 12 tweets 6 min read
Did you know you can use ChatGPT to summarize your (online) meetings?

With @LangChainAI, and a couple of lines of code, you can!

Let me show you how in 6 simple steps🧵

#AI Image Before we dive in, this is day 2 of my '7 days of LangChain'.

Every day, I'll introduce you to a simple project that will guide you through the basics of LangChain.

Follow @JorisTechTalk to stay up-to-date.

If there's anything you'd like to see, let me know!

Let's dive in:
Jun 21, 2023 10 tweets 3 min read
Meta entered the chat...

Meta AI has unveiled Voicebox, a groundbreaking generative model for voice synthesis tasks.

This model can generate speech from text and perform tasks like editing, noise removal, and style transfer.

Let's dive into the details! 🧵 Voicebox is a generative model that can synthesize speech in six languages.

It has been trained on a general task of mapping voice audio samples to their transcripts, enabling it to perform various text-guided speech generation tasks seamlessly.
Jun 20, 2023 16 tweets 8 min read
ChatGPT is great for creating plans.

But it can't use YouTube videos as a knowledge base.

With @LangChainAI, you can!

I've used the @thedankoe's YouTube video on '4-hour workdays' and let AI create a detailed plan.

Let me show you how you can do it too, in just 8 steps.

#AI Image Before we dive in, this is day 1 of my '7 days of LangChain'.

Every day, I'll introduce you to a simple project that will guide you through the basics of LangChain.

Follow @JorisTechTalk to stay up-to-date.

If there's anything you'd like to see, let me know!

Let's dive in:
Jun 20, 2023 8 tweets 2 min read
Finance 🤝 AI

Language models have transformed natural language processing across industries, and now they're making waves in finance.

Enter FinGPT: An open-source Financial Large Language Model

Let's dive in 🧵 Image Extracting financial data can be daunting, spanning web platforms to PDFs.

While proprietary models like BloombergGPT have specialized data, the need for an open and inclusive alternative is clear.

Introducing FinGPT:
Jun 19, 2023 14 tweets 3 min read
One step closer to human-level intelligence in AI:

A year ago, Meta's Chief AI Scientist, Yann LeCun, proposed a groundbreaking architecture that could revolutionize AI systems as we know them.

Today, the first implementation is here: I-JEPA.

A deeper dive 🧵 Image 1/13 The goal?

To create machines that can learn internal models of how the world works, enabling them to learn faster, plan complex tasks, and adapt to new situations.

Let's dive into the details! 👇
Jun 18, 2023 12 tweets 2 min read
AI and Safety:

@owasp has released a list of the top 10 most critical vulnerabilities found in artificial intelligence applications based on large language models (LLMs).

These vulnerabilities include prompt injections, data leakage, and unauthorized code execution.

A 🧵

#AI Photo by Pixabay from Pexels 1. Prompt injections:

This involves bypassing filters or manipulating the LLM using carefully crafted prompts that make the model ignore previous instructions or perform unintended actions.
Jun 17, 2023 7 tweets 2 min read
The power of natural language interaction is taking over!

Companies are bringing AI applications to life with large language models (LLMs). The adoption of language model APIs is creating a new tech stack in its wake.

Key takeaways from research by @sequoia

🧵 Image 1/ Nearly every company in the Sequoia network is building language models into their products.

From code to data science, chatbots to sales, and even grocery shopping and travel planning, the possibilities are endless.
Jun 16, 2023 6 tweets 5 min read
Are you using ChatGPT to study?

Smart move, but you can do better.

Enter @LangChainAI. The AI prepares practice questions based on your study material.

Try it yourself on @streamlit. Link and code below. ⬇️

High-level overview of the app 🧵

#AI #buildinpublicn #indiehacker 1⃣ Enter your OpenAI API Key and upload your study material.

@LangChainAI will process the files and generate your questions.

WARNING: Large files (>50 pages) will clean out your wallet quickly.

I've used a 15-page file which cost me around $0.15.
Jun 16, 2023 11 tweets 5 min read
Putting @LangChainAI to the test.

I've used LangChain and OpenAI to generate 9 questions and answers to the paper: "Eight Things to Know about Large Language Models" by @sleepinyourhat

Inspiration by @gael_duval

Code in last Tweet. Let's learn! 🧵

#AI #langchain #LLM Image Question 1:

What are the eight potentially surprising claims about large language models discussed in the text? Image
Jun 14, 2023 10 tweets 5 min read
ChatGPT is great for studying.

But did you know you can use it to help you prepare for specific exams?

With the power of @LangChainAI you can!

Here's a 9-step breakdown including code: 🧵

#AI #study #buildinpublic #indiehacker Image 1/9 A high-level overview:

1. Input: PDF of study material
⬇️
2. Process documents
⬇️
3. Generate questions based on study material and exam guidelines
⬇️
4. Answer the questions based on the study material

You could combine step 3 & 4, but separating them = better results👇
Jun 13, 2023 12 tweets 4 min read
Are you excited about the future of #AI programming?

Meet Mojo🔥, the new programming language optimized for AI, with a 35,000x performance boost over Python

Created by @Modular_AI , led by the great @clattner_llvm. (Google, Tesla, Apple, Swift)

Thread👇

#Mojo #coding Image Mojo🔥 is a superset of Python

It provides the usability of one of the world's most popular languages, but with the performance of C & C++.

In fact, Mojo code has demonstrated 30k times speedup over Python!
Jun 12, 2023 11 tweets 5 min read
Want to get into AI, but don't know where to start?

Here's a list of the 10 best free courses on EdX.

🧵

P.S.: I stole this list from @mashable 🤫

#AI #indiehacker #coding 1. AI Chatbots without programming by @IBM

This course will teach you how to build, analyze, deploy and monetize chatbots - with the help of IBM Watson and the power of AI.

edx.org/course/AI-chat…
Jun 3, 2023 5 tweets 3 min read
Strong prompts are key to getting great results from ChatGPT.

But managing 20 different ChatGPT tabs is a hassle.

With @LangChainAI's Multi Prompt Chain, you don't have to. It chooses the right prompt itself.

Example: Marketing vs business expert.

Let's dive in 🧵 Image First, you have to decide which 'experts' you'd like to include.

I've chosen a marketing and business expert.

Then write the corresponding prompts. Image