mirror of
https://github.com/AgentOps-AI/tokencost.git
synced 2024-06-22 04:30:40 +03:00
docs: 📝 Update Llama Index documentation
This commit is contained in:
@@ -506,7 +506,7 @@ pip install `'tokencost[llama-index]'`
|
||||
To use the base callback handler, you may import it:
|
||||
|
||||
```python
|
||||
from tokencost.callbacks.llama_index import BaseCallbackHandler
|
||||
from tokencost.callbacks.llama_index import TokenCostHandler
|
||||
```
|
||||
|
||||
and pass to your framework callback handler.
|
||||
|
||||
Reference in New Issue
Block a user