Member-only story

ChatGPT — How to Create Personal ChatBot in Python

Use gpt-3.5-turbo model to create your own ChatGPT bot

Tony
3 min readMay 17, 2023

In my previous article, I introduced how to use “OpenAI text-davinci-003 engine”, “Telegram Bot platform” and “Python3” to build our own personal ChatBot, in this article, let’s use the “gpt-3.5-turbo model” and upgrade our bot to “ChatGPT”.

text-davinci-003 vs gpt-3.5-turbo

GPT-3, or the third iteration of the Generative Pre-trained Transformer, is an advanced language model developed by OpenAI. It is designed to understand and generate human-like text based on a given input, often referred to as a “prompt.”

“Davinci” is one of the several engines or sub-models available within GPT-3. The sub-models of GPT-3 have different sizes and capabilities, with “Davinci” being the largest and most powerful among them.

The GPT-3.5-Turbo Model is OpenAI’s latest and most advanced language model, which powers the popular ChatGPT. It is priced at $0.002 per 1k tokens, which is 10x cheaper than existing GPT-3.5 models. This model was releaed on March 1, 2023.

The GPT-3.5-Turbo model is a superior option compared to the GPT-3 model, as it offers better performance across all aspects while being 10 times cheaper per token. Moreover, you…

--

--

Tony
Tony

No responses yet