Closed VisargD closed 8 months ago
🤖
It's great to see your interest in improving the SDK! Your proposed changes to include the new dimensions
param and encoding_format
in the EmbeddingsBody
interface would be valuable for TypeScript users. We encourage you to go ahead and create a pull request with your proposed changes. Your contribution will be much appreciated by the community. Thank you for considering this improvement!
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
If you want to continue the conversation, start your reply with @dosu-bot.
OpenAI has announced a new param named
dimensions
. But it is not a part ofEmbeddingsBody
interface of the SDK. Due to this, it might throw a compile error for TS environments. Apart from this,encoding_format
is also missing from the interface.