openai-node icon indicating copy to clipboard operation
openai-node copied to clipboard

More embedding examples for Nodejs

Open ezzcodeezzlife opened this issue 2 years ago • 1 comments

OpenAI has some great embedding examples in the OpenAI Cookbook & API docs for Python, but none for Nodejs.

Would be awesome if you could add some for different use cases like clustering, regression, anomaly detection, visualization, search, context relevance, information retrieval

Thanks 🚀

ezzcodeezzlife avatar Dec 29 '22 15:12 ezzcodeezzlife

Or even just implementing a fast cosine similarity and perhaps a t-SNE would be super appreciated!

SinanAkkoyun avatar Jan 26 '23 13:01 SinanAkkoyun

@rattrayalex is there something planned already, still missing these things. Thank you in advance! 🚀

ezzcodeezzlife avatar Jul 21 '23 07:07 ezzcodeezzlife

What are some of the examples you'd most like to see?

rattrayalex avatar Jul 21 '23 19:07 rattrayalex

Thanks for the feedback! We will certainly try to make sure more NodeJS examples end up in the docs in the future. We should have parity with Python IMO and will work towards that.

logankilpatrick avatar Jul 21 '23 20:07 logankilpatrick

What are some of the examples you'd most like to see?

Currently trying to find out how to convert the embedding array into something I can store in sqlite-vss. So along those lines?

metaskills avatar Jul 26 '23 12:07 metaskills

I'm closing this issue as it's not a client library feature request, but we're still working towards adding more TypeScript examples and you're welcome to post docs requests at community.openai.com.

rattrayalex avatar Sep 03 '23 15:09 rattrayalex