Having trouble using assistants with openai api with firebase cloud functions. I am using this npm package https://www.npmjs.com/package/openai

I’ve looked through the documentation. Can someone point me in the right direction? I’m simply trying to learn to create a assistant with a firebase cloud function and use an assistant. Just those two functions. couldn’t find it anywhere

I’m able to use the normal chatgpt api but not the one with the assistants. I believe I need an assistant id and then later on a thread id to mantain the conversation. Any help is appreciated. Thanks.