Skip to content

Commit

Permalink
PDF token counts work now.
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkDaoust authored Jul 29, 2024
1 parent 945442b commit 3a18546
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quickstarts/PDF_Files.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@
{
"data": {
"text/plain": [
"total_tokens: 8"
"total_tokens: 78595"
]
},
"execution_count": 13,
Expand All @@ -302,7 +302,7 @@
}
],
"source": [
"model.count_tokens([file_ref, \"Can you summarize this file for me?\"])"
"model.count_tokens([file_ref, '\\n\\nCan you summarize this file as a bulleted list?'])"
]
},
{
Expand Down

0 comments on commit 3a18546

Please sign in to comment.