fdarkaou
Joined 3 years ago
Karma
8
Submissions
13
Member since
Sep 23
Joined 3 years ago
i've built multiple chat demo apps (see anotherwrapper.com) and there what i basically did was store a full copy of the history in the DB & then in a config file i specified how many previous messages i want to include in my chat history when interacting to the API
I've had people buy it exactly for this - you see lots of companies wanting to implement chatbots with access to their knowledge base etc.
I choose to embrace it and that's why my company is literally called AnotherWrapper lol
For example I built a Tweet generator a couple of minutes ago: https://anotherwrapper.com/tools/ai-app-generator/tweetgenie
You can see from the code in the sandbox its a nextjs app, with the backend api route calling openai and frontend taking in user input