Building a Chatgpt like Chatbot using Langchain and Hugging Face || Step by step Langchain tutorial

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

Build your very own Chatgpt like chatbot using Langchain and Hugging Face using this step-by-step tutorial

We shall use Conversation chain and combine the hugging face model along with prompt in order to create a conversational bot

Follow the guide and build your very own chatbot

References:

If you like the content make sure to subscribe and hit the BELL icon :)

-----------------------------------------------------------------------------------------------------------

Why learn #datascience ??

"Data Science is the sexiest job of 21st century"

If you are a #btech student, #diploma in #computerscience, #graduate looking to #career #transition into #datascience , #machinelearning, #dataanalysis, this is a place for you

Everyone of us use social media platforms such as instagram, facebook, or binge watch on OTT platforms such as #youtube , netflix, prime, hotstar or window shop on e-commerce sites such as amazon, flipkart, myntra

It certainly amazes us to see the products of our choice and interest being #recommended to us, our favorite shows being filtered among millions of others

However, not many get to understand how it works. Not to worry, we shall help you understand the concepts in a #simplified and #concise fashion, helping in career transition into machine learning or data science

--------------------------------------------------------------------------------------------------------------------------------------

Why learn from datahat??

"Datahat is a bridge"
learners --- professionals by simplified data science

It provides a platform to learn, create and collaborate helping in the #career #transition to data science, machine learning and data analysis

Understand the broad domain of data science and its related subdomains in machine learning, data analysis, data engineering in a self paced, #structured and #guided learning

--------------------------------------------------------------------------------------------------------------------------------------
Additionally, here are few more useful resources for beginners and curious data enthusiasts

Remember, "the greatest investment ever made is investment in self growth and learning"
Рекомендации по теме
Комментарии
Автор

Every program I am trying to make using LLM Hugging face, I am getting this error at the end - AttributeError: 'Response' object has no attribute 'decode'. Can't figure out the issue. Seems like the output that is coming back is not translating in correct format. I tried everything, took help from chatgpt but did not work. Any suggestion?

pinkfloyd
Автор

How can I add my personal requirement document/text to this ChatGPT? I want to ask questions and want to know the answers from chatGPT based on my personal documents (.doc / .txt etc), please, can you share such recorded videos

vmaradhya
Автор

pls which environment are you working with?

ajiehchukwudi
Автор

thx a lot! but stuck at specifying model step....error says Did not find huggingfacehub_api_token, please add an environment variable `HUGGINGFACEHUB_API_TOKEN` which contains it...which I definitely have done all the api configures...

litttlemooncream
Автор

I am encountering the problem to get that port runnning(UI) since I am trying to run on jupyter notebook, but it is not doing anyhintg

ridj
Автор

Can we use this code for a webpage to make live chatting for

yousufmuhammad
Автор

Hello, can you create a bot where we can feed custom data such as books and pdf, which utilizes langchain/llama index, openai API?

maxymax
Автор

Hi, I am getting stuck on calling the API. I wrote the same code but when I run it it just keeps on saying it is executing it doesn't give me any error either, what should I do?

JasikaBansal-lz
Автор


Feel free to suggest modification and share your learnings here... Happy Learning!!

datahat
Автор

after running chainlit password was won't asked by me and the chainlit interface is oppened and i am unable to write any text in the prompt what to do?

PrabhatBivesh
Автор

Hi Can you share the implementation of memory, I am building chat with pdf and it is working well on individual level, but it fails to remember memory(chat history) to answer follow up questions on previous answer. It will be very helpful if you can share your implementation. TIA.

sks_DS
Автор

while passing getpass() how long does it run

bonyy
Автор

I followed the instructions but the chatbot is giving output like "<chainlit.message.Message object at 0x109111850>
<chainlit.message.Message object at 0x109111850>"
Please, can you help?

febfeb