mem0 icon indicating copy to clipboard operation
mem0 copied to clipboard

Create OpenAI-API structure compatible API example

Open aviaryan opened this issue 1 year ago • 2 comments

🚀 The feature

EmbedChain has an API server example here. https://docs.embedchain.ai/examples/api_server It has a reasonable API structure.

I would like it we we had an example that had the same API structure as OpenAI API.

Motivation, pitch

Many custom ChatGPT frontends can work with the OpenAI API type structure. One such front end is TypingMind.

It has support for OpenAI style external API as shown below.

If we can have an example with an OpenAI-style API structure, we can use a dedicated chat interface for chatting with our data that gives many extra features like chat history persistence, data formatting, and many others.

CleanShot 2023-10-06 at 19 47 07@2x

aviaryan avatar Oct 06 '23 14:10 aviaryan

Please assign me, I want to do it.

CrypticRevenger avatar Oct 07 '23 14:10 CrypticRevenger

cc @deshraj

taranjeet avatar Dec 13 '23 03:12 taranjeet