estimate • AI Agent SDK
estimate: Estimate tokens for text.
estimate
Method
</div>
This is a method of the TokenEstimator class in the models module.
Estimate tokens for text.
Signature
def estimate(text: str) -> intParameters
ParamField
strNo description available.
Returns
ResponseField
intThe result of the operation.
Source
View on GitHubpraisonaiagents/context/models.py at line 453