Access the SID Memory API using OpenAI packages
Because SID Memory intentionally mirrors the OpenAI API, you can use the same packages to access it. Below are some examples of how to use the OpenAI Python and JavaScript packages to call the SID Memory API.
There are only two changes needed to use the OpenAI packages with SID Memory:
https://api.sid.ai/v1/memory
extra_query
or query
parameter, respectivelyThe SID Memory API also supports streaming, just like the OpenAI API.