v0.2.0
What's new?
- Multiple LLM providers 🥇 : This release marks another significant milestone in the python-tgpt series, as it features the capabilities of interacting with multiple free models as well as the legendary ChatGPT models.
Note : All providers have got a common class methods and few common class variables such as
last_response.
Openai
import tgpt.openai as openai
bot = openai.OPENAI("<OPENAI-API-KEY>")
print(bot.chat("<Your-prompt>"))
Koboldai
import tgpt.koboldai as koboldai
bot = koboldai.KOBOLDAI()
print(bot.chat("<Your-prompt>"))
Fakeopen
import tgpt.fakeopen as fakeopen
bot = fakeopen.FAKEOPEN()
print(bot.chat("<Your-prompt>"))
Opengpt
import tgpt.opengpt as opengpt
bot = opengpt.OPENGPT()
print(bot.chat("<Your-prompt>"))