Replies: 1 comment
-
|
It would be the same as any other string. |
Beta Was this translation helpful? Give feedback.
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": []}")
},
};
Beta Was this translation helpful? Give feedback.
All reactions