Using OpenAI's ChatGPT API to Build a Conversational AI Chatbot | Python | Code

preview_player
Показать описание
In this tutorial, you'll learn how to use the newly released ChatGPT API from OpenAI to build your own conversational AI chatbot. With the power of GPT-3 technology, you can create a chatbot that can understand and respond to natural language inputs in real time.

I am a Freelance Data Scientist working on Natural Language Processing (NLP) and building end-to-end NLP applications.

I have over 7 years of experience in the industry, including as a Lead Data Scientist at Oracle, where I worked on NLP and MLOps.

I Share Practical hands-on tutorials on NLP and Bite-sized information and knowledge related to Artificial Intelligence.

#chatgptapi #chatgpt #gpt3 #openai
Рекомендации по теме
Комментарии
Автор

📌 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
Автор

You didn't waste any time. great job though, we are all excited !

ZakariaSabti
Автор

I'm a simple man. I see good content, I subscribe, and like it!

estrangeiroemtodaparte
Автор

Thanks for the tutorial, very insightful and helpful. Just wondering, since the max token is 4096, so that means after multiple conversation (user input + AI reponse), there is a chance that the history will over max token length ?

If so, is there any solution ?

catyung
Автор

Pradip, If we have to keep updating the message list with the history, will this not limit the token size for an expected output? as the max tokensize is limited to input+output. is this correct?

cloudshoring
Автор

This is exactly what I wanted to build. Want to make a classy 19th century scientists bot for my desktop.

But I tbink appending and sending the messages each time will eat into tokens. Couldnt it be better to set a cap on the messages? Say only append it up to 5 then have it roll over and erase the oldest in the list?

Im new btw this may not make any sense.

NewMateo
Автор

I am doing sementic search using sentence transformers but not able to deploy that in AWS...as the sentence_transformers is not getting installed....on the half way installation is getting killed

harshsinha
Автор

This was worth watching. Thanks for this.
My question is, this bot will answer any question in the world. But how can i limit it to answer questions related to my company only? That it can chat without answering what is Physics, which is out of my domain

josephwambura
Автор

Is there a way that we can analyze the data if we given as an input to chatgpt api?

adilmajeed
Автор

Hi Pradip Sir,
can we integrate AWS Lex bot with Power-BI Dashboard
if yes then how can we do that

tusharpatil
Автор

Hi Pradip, I am a Nodejs developer and I want to cluster text data using embedding but I don't know How to work with the [' ', ....' '] vector output, can you suggest me any resources to learn and implement those using Nodejs ?

kishalayray
Автор

Hi!

Thank you for this video.

What if I want to have a longer conversation further than 4097 tokens.

I have received this message error:

InvalidRequestError: This model's maximum context length is 4097 tokens. However, your messages resulted in 4142 tokens. Please reduce the length of the messages.

Thanks in advance for your response!

Автор

hey pradip can we get language transalation solution like if any person is comfortable in spanish, hindi, chinese so that he can get the solution in these language, for more clarification if solution is in english but if any body who want solution in hindi how to do???

SaurabhSingh-nicx
Автор

Hi Pradeep how we can use table data to generate insights using chat gpt api? will you please help

payaljindal
Автор

Any option to fine-tune ChatGPT with recent data?

saptarshidattaaot
Автор

So we have to keep passing the chat history? I thought one can have a chat session ID and pass it around.

xeb-
Автор

can you please answer this as while using chatgpt if i ask chatgpt that act like a chatbot in this domain with these limitations. Then how can we alter this code. Is it possible without finetuning.

bilalirfan
Автор

Hello sir, I have been assigned by a project named conversational AI chatbot using educational domain
So I stucked in finding the educational dataset ...can u please help me in my project sir

vempatikavya
Автор

How to finetune chatGPT API with our own data

pradeept
Автор

RateLimitError: You exceeded your current quota, please check your plan and billing details. How to resolve it is paid?

MandarWarghade