Skip to main content

estimate_tokens_simple

Function
This function is defined in the indexing module.
Simple token estimation (~4 chars per token).

Signature

Parameters

str
required
No description available.

Returns

int
The result of the operation.

Source

View on GitHub

praisonaiagents/knowledge/indexing.py at line 34