forked from phoenix/litellm-mirror
Fixed typo in token_usage.md
This commit is contained in:
parent
74817c560e
commit
16a9cb34d9
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ However, we also expose 3 public helper functions to calculate token usage acros
|
||||||
```python
|
```python
|
||||||
from litellm import token_counter
|
from litellm import token_counter
|
||||||
|
|
||||||
messages = [{"user": "role", "content": "Hey, how's it going"}]
|
messages = [{"role": "user", "content": "Hey, how's it going"}]
|
||||||
print(token_counter(model="gpt-3.5-turbo", messages=messages))
|
print(token_counter(model="gpt-3.5-turbo", messages=messages))
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue