Ashiqur Rahman Pranto
In this video, I showed you how to build your own ChatGPT or GPT-3 model using python OpanAI library.
To get your OpenAI API Key, go to https://openai.com/api, log in or sign up for your account. A welcome page will show. Click on your profile at the top-right corner, and click View API keys. Then click Create new secret key. A secret key will generate. Copy your key and paste it into your code. This API key will show only one time for security. Save your API key in a safe place. Once you lost your API key, you have to generate a new secret key.
#shorts #chatgpt #chatgpt3 #openai
Please like my video and subscribe to my channel for the latest videos.
Follow me:
Facebook: https://www.facebook.com/ashiqurrahmanpranto1
Twitter: https://twitter.com/ashiqur_pranto
Instagram: https://www.instagram.com/ashiqurpranto
Linkedin: https://www.linkedin.com/in/ashikur-rahman-pranto-17766819a
Is it seriously this easy? I've been having some trouble difficulties connecting my page and getting a response.
Clean
Meow it's so cool
👍
But this is not ChatGPT 3.0 this is ChatGPT 2.0
plss fixed the title
Iskelia openai ka api key chahiye…baki toh hamebhi pata hai…give me money
import openai
openai.api_key = "your api key"
prompt = input("ask chatgpt: ")
response = openai.Completion.create(engine="text-davinci-003" , prompt=prompt , max_tokens=2000)
print(response["choices"][0]["text"])
Where can i find the API link?
I create a ChatGPT-like program using GPT-2 774M and it can run offline. Even without GPU.
много вопросов и нет ответов
If you change the max tokens of the response, what happens?.For example if i write 2100 or 1904 instead of 2000 the program still working?
I don‘t see you building your own model
This is also not a own model , you just use the api to send a request . A own model can be trained to do your customer service or sales in a chat for example
Using the api is not free though, if you use it enough it burns through your wallet
It’s Text-davinci-003, not chatGPT 😉