You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Openai create-prompt documentation says the prompt field is supported encoded as a string, array of strings, array of tokens, or array of token arrays. but this library seems to be supported only encoded as a string.
Hi 👋 Thanks for developing a great library!
Openai create-prompt documentation says the
prompt
field is supportedencoded as a string, array of strings, array of tokens, or array of token arrays.
but this library seems to be supported only encoded as a string.openai-js implemented type for that like this: https://github.com/threepointone/openai-js/blob/eaade749f2ead531d2ac9a2015184f7b6418a581/api.ts#L475
So I want to ask the question, How can I send a completion request with an array of string?
Thanks
The text was updated successfully, but these errors were encountered: