You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @umatter, I'm getting this error on a fresh installation:
install.packages("devtools")
devtools::install_github("umatter/OpenAIR")
# load the package
library("TheOpenAIR")
# register your api key
openai_api_key("MY_KEY")
> install_tiktoken()
Error in install_tiktoken() : could not find function "install_tiktoken"
The count_token() function works correctly
> test_string <- "This is a test string to estimate the cost of the API call"
> TheOpenAIR::count_tokens(test_string)
[1] 13
Can I assue that count_token() superseded the num_tokens() function?
The text was updated successfully, but these errors were encountered:
Hello @umatter, I'm getting this error on a fresh installation:
The
count_token()
function works correctlyCan I assue that
count_token()
superseded thenum_tokens()
function?The text was updated successfully, but these errors were encountered: