Closed finom closed 1 year ago
I think the following types correspond to the original types 👀
type Message = Completions.CreateChatCompletionRequestMessage;
type Function = Completions.CompletionCreateParams.Function;
Thanks, fixed by https://github.com/hmarr/openai-chat-tokens/commit/1ce17fa6b3df1446c1cf0ebcb09b1d64a77a383e. Released in v0.2.6.
Great job! Looks like the library uses old (I guess) TypeScript namespace types from OpenAI:
But now they export individual interfaces.