OpenAI Function Token Count #24
Unanswered
Eddie Gyger (CeGyger92)
asked this question in
Q&A
Replies: 1 comment
|
It would be the same as any other string. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Is there support for counting tokens from function definitions? How would one take a function definition from the Azure.AI.OpenAI package below and count the tokens?
List functions = new List()
{
new FunctionDefinition()
{
Name = "Function",
Description = "Description",
Parameters = BinaryData.FromString("{"type": "object","properties": {},"require": []}")
},
};
All reactions