gpt-tokenizer icon indicating copy to clipboard operation
gpt-tokenizer copied to clipboard

Support function calls?

Open seoker opened this issue 11 months ago • 2 comments

As you may know, function calls are now supported by OpenAI, and the function call tokens will be taken into account. With some googling, I found the calculation here.

It will be great if the library could also calculate the required tokens when using with function calls. 🙏🏼

seoker avatar Jun 29 '23 10:06 seoker