Skip to content

v0.2.0

Choose a tag to compare

@Simatwa Simatwa released this 09 Jan 23:04
· 346 commits to master since this release

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>"))