Build a RAG LLM Web Scraping API with BUN.js in 11 Minutes

preview_player
Показать описание
Welcome to this video tutorial on how to build an OpenAI Web Search RAG LLM API with BUN.js.

⚡ In this tutorial, we're going to build a cutting-edge API that uses OpenAI's API. It will also scrape the web using Cheerio and gather search data from Brave Search. The result is an API that performs text processing and returns highly relevant search results. ⚡

👉 Features:

Query rephrasing with OpenAI GPT-3.5
Data scraping using Cheerio
Web search via Brave Search
Text processing for similarity search
🚀 Quick Start Guide 🚀
1️⃣ Get your API keys:

OpenAI: Get API Key
Brave Search: Get API Key
2️⃣ Set up your environment variables.
3️⃣ Install required packages with bun install langchain openai cheerio.
4️⃣ Run your server
👤 About DevelopersDigest 👤
For more awesome tutorials and the latest in development, check out our:

🔗 Links:

📁 Repository:

👍 Like this video if you found it helpful! Don't forget to subscribe to stay updated with the latest content. 👍
Рекомендации по теме
Комментарии
Автор

Really cool idea how you are pseudocoding the outline in comments and then unfolding to reveal. Lets you organize such a clean presentation. Love your channel!

ToddDunning
Автор

I didnt realize Will Arnett was also a software engineer

tannercottle
Автор

This is pretty cool. Great way to do webscraping!

stonedizzleful