LangChain101: Question A 300 Page Book (w/ OpenAI + Pinecone)

preview_player
Показать описание

In this tutorial we will load a PDF book, split it up into documents, get vectors for those documents as embeddings, then ask a question.

---AI Generated Description---
In this tutorial, I am is discussing how to query a book using OpenAI, LangChain, and Pinecone, an external vector store, for semantic search.

I'm demonstrating how to split up the book into documents, use OpenAI embeddings to change them into vectors, and then use Pinecone to store them externally.

I'm then showing how to ask a question and get an answer back in natural language. This technique can be used to query books as well as internal documents or external data sets.
---AI Generated Description---

0:00 - Intro
1:31 - Diagram Overview
3:33 - Code Start
5:46 - Embeddings
6:33 - Pinecone Index Create
7:45 - First Question
9:33 - Ask Questions w/ OpenAI

Рекомендации по теме
Комментарии
Автор

So even Ryan Gosling's getting into this now.

edzehoo
Автор

This is absolutely brilliant! I love the way you explain everything and just give away all notes in such detailed and easy to follow way.. 🤩

krisszostak
Автор

This is exactly what I was looking to do, but I could'nt sort it out. This video is legit the best resource on this subject matter. You're gentleman and a scholar. I tip my hat to you, good sir.

smarketing
Автор

No idea how long i've been searching the web for this exact tutorial. Thank you.

blocksystems
Автор

Your series is just so so good. What a passionate, talented teacher you are!

davypeterbraun
Автор

OMG, this is exactly the functionality I need as a long-form fiction writer, not just to be able to look up continuity stuff in previous works in a series so that I don't contradict myself or reinvent wheels ^^ -- but then to also do productive with the chatbot. I need to figure out how to make exactly this happen! Thank you for the video!

sarahroark
Автор

Great job on the video. I understood a lot more in 12 mins than from a day of reading documentation. Would be extremely helpful if you can bookend this video with 1. dependencies and set up and 2. turning this into a web app. If you can make this into a playlist of 3 videos, even better.

NaveenVinta
Автор

you know it's something big when The GRAY MAN himself is teaching you AI!!

nigelcrasto
Автор

thanks for making these videos! I've been going through the playlist and learning a lot. One thing I wanted to mention that I find really helpful in addition to the concepts explained is the background music! Would love to get that playlist :)

lostnotfoundyet
Автор

This is a great video and Greg is awesome. Let's hope he puts together a course!

kandBeyond
Автор

This is super awesome!!! And so easily explained! You made my year. Please keep up the greatest work <3

ninonazgaidze
Автор

I like the video because it was to the point and the presentation with the initial overview diagram is great.

virendersingh
Автор

Great video man. Loved it. I had been looking for this solution for some time. Keep up the good work.

Crowward
Автор

This is the best video i've watched explaining the use of pinecone.

nickpetolick
Автор

Nice video. i tweaked the code and split the index part and the query part so that i can index once and keep querying - like how we would do in the real world. Nicely put together !!

nsitkarana
Автор

Thank you soooo much I am using this knowledge soo much for my school projects.

Mr_Chiro_
Автор

Really clear, useful demo – thanks for sharing

HelenJackson-pqnm
Автор

Great tutorial bro. You're really doing good out here for us the ignorant. Took me a while to figure out that I needed to run pip install pinecone-client to install pinecone. So this is for anyone else who is stuck there

DanielChen
Автор

this helped me a lot, thanks, for the updated code in description as well!

thespiritualmindset
Автор

Awesome example, thanks for putting this together!

MrWrklez