Closed Mohamed01555 closed 1 year ago
There are many reasons for that. But you can easily do that, here is an example:
import freeGPT
from asyncio import run
async def main():
chat_history = []
while True:
prompt = input("👦: ")
try:
resp = (
await getattr(freeGPT, "gpt3")
.Completion()
.create(f"Chat history: {chat_history}. Prompt: {prompt}")
)
print(f"🤖: {resp}")
chat_history.append(f"Prompt: {prompt}. Your Response: {resp}")
except Exception as e:
print(f"🤖: {e}")
run(main())
please give a few of them, please
?
you said There are many reasons for that.
can you give a few of them, please?
why do gpt3 or gpt4 bots not have memory? Although they have memory on their websites whether
you.com
orAIChatOS
. Appreciate your response