Building a Document-based Question Answering System with LangChain, Pinecone, and LLMs like GPT-4.

preview_player
Показать описание
Learn how to build a powerful document-based question-answering system using LangChain, Pinecone, and advanced LLMs like GPT-4 and ChatGPT. Unlock the potential of semantic search and AI-driven insights to create precise and context-aware AI applications. Watch now and elevate your projects with cutting-edge techniques!

Revolutionizing Search: How to Combine Semantic Search with GPT-3 Q&A

Building a GPT-4 Chatbot using ChatGPT API and Streamlit Chat

🚀 Top Rated Plus Data Science Freelancer with 8+ years of experience, specializing in NLP and Back-End Development. Founder of FutureSmart AI, helping clients build custom AI NLP applications using cutting-edge models and techniques. Former Lead Data Scientist at Oracle, primarily working on NLP and MLOps.

💡 As a Freelancer on Upwork, I have earned over $60K with a 100% Job Success rate, creating custom NLP solutions using GPT-3, ChatGPT, GPT-4, and Hugging Face Transformers. Expert in building applications involving semantic search, sentence transformers, vector databases, and more.

#LangChain #Pinecone #GPT4 #ChatGPT #SemanticSearch #DocumentQnA"
Рекомендации по теме
Комментарии
Автор

📌 Hey everyone! Enjoying these NLP tutorials? Check out my other project, AI Demos, for quick 1-2 min AI tool demos! 🤖🚀

We aim to educate and inform you about AI's incredible possibilities. Don't miss our AI Demos YouTube channel and website for amazing demos!
Subscribe to AI Demos and explore the future of AI with us!

FutureSmartAI
Автор

Very useful information in the video.
Thanks.!

entertainmentbuzz
Автор

Just an update, unstructured 0.6.1 does not support local-inference. For the import statements you have to add *!pip install as well to load your documents.

Thanks for the content!

LaveshNK
Автор

Crisp and up to the point !!! Great work
need more tutorials on LLM

FindMultiBagger
Автор

This was a very illuminating demo. Appreciate it!

kevon
Автор

Fastest research on complete langchain and you provided the best notes ❤🎉

SaiKiranAdusumilli
Автор

Good explanations. The flow diagrams really helps with he big picture. Thanks!

extrememike
Автор

It was a very helpful presentation. Thanks and greetings from Poland.

port
Автор

This is first-class information.
Thank you.
I just subscribed!

rotormeeeeeeee
Автор

for everyone getting error on:
embeddings =
text= "Hello world"
query_result = embeddings.embed_query(text)
len(query_result)

can go ahead and use:
response = openai.Embedding.create(
input="Hello world",

)
embeddings =
len(embeddings)

Yogic-ignition
Автор

Sir in the code it is giving an error saying that pinecone does not have an attribute named ‘init’ how do we resolve this ?

rishikapandit
Автор

Clear explanations and great code! Thanks!

thomasguillemard
Автор

Looking for something similar and found the best one. Thanks @Pradip

mohsinaliriad
Автор

Hey Pradip, great video!
Do you know if it's possible to automatically create a pinecone db index from code?
So that you don't have to create them manually

quengelbeard
Автор

Hello! I’m working on creating an idiom dataset to fine-tune LLaMa2 for suggesting idioms based on different scenarios. I have a PDF full of idioms and I’m wondering if there’s a way to extract all the idioms using GPT or any other Large Language Model. Is there a cost-effective or free method to generate this dataset? Also, could you advise on how the data should be structured for fine-tuning the LLM? Should it be similar to a QnA format or something else?

snehitvaddi
Автор

wouldve been helpful to have the docs included with the colab files to run some tests straight away

ShadowDC
Автор

Sir is it required to have open ai key or call openai library as i want q&a using the provided document only?

ujjwalsrivastava
Автор

How to show the document path alongwith get_answer(query) call without using print similar_docs?

axysharma
Автор

Hi Pradip, Hope you are doing well :)
I installed all the dependencies and was running the following cell,

directory = '/content/data'

def load_docs(directory):
loader = DirectoryLoader(directory)
documents = loader.load()
return documents

documents = load_docs(directory)
len(documents)



I got this error: ImportError: cannot import name 'is_directory' from 'PIL._util'

Any idea how to resolve this? I have faced this error before as well.

saadkhattak
Автор

Has someone turned this into a streamlit app and would share the github? Would really appreciate that!

patrickhilpold