OpenAI-API-dotnet icon indicating copy to clipboard operation
OpenAI-API-dotnet copied to clipboard

Add 'TokenLimit' as a property of models?

Open vermorel opened this issue 2 years ago • 1 comments

The token limit is an important property when dealing with one model or another. It would be very nice if the Model class had a int TokenLimit property that gives the specific capacity of the model.

vermorel avatar Apr 13 '23 11:04 vermorel

I'm limited to what the OpenAI API makes available. Until they return this from the API in https://platform.openai.com/docs/api-reference/models/retrieve, there's not much I can do aside from hardcoding some values on my end, which feels like a bad workaround. Sorry

OkGoDoIt avatar Apr 15 '23 18:04 OkGoDoIt