by Al-Khwarizmi · 3y ago · 0 comments
Have you tested this? My impression after a couple of tests is that its answers are worse than free ChatGPT (no idea why).
Maybe I just got unlucky with the RNG, though.
Nice to meet you, George. How can I assist you today?
> What is my name
As an AI language model, I don't have access to your personal information such as your name. Can you please tell me your name?
You need to pass the whole chat history in your request:
[{:role "assistant", :content "Ciao, sono PizzaGPT come posso aiutarti?"}
{:role "user", :content "My name is George"}
{:role "assistant", :content "Nice to meet you, George. How can I assist you today?"}
{:role "user", :content "What is my name"}
{:role "assistant", :content "Your name is George."}]
On the ChatCompletion API endpointYou can ask it to summarize the dialog, thus compressing the dialog history into a few sentences. That will give you some basic dialog context.