cohere-python icon indicating copy to clipboard operation
cohere-python copied to clipboard

tokenize() got an unexpected keyword argument 'model'

Open PeterTF656 opened this issue 1 year ago • 1 comments

using cohere python 4.11.2:

response = co.tokenize(
  text=text,
  model='embed-multilingual-v2.0'
)
print(response.tokens)

Error:

tokenize() got an unexpected keyword argument 'model'

PeterTF656 avatar Jun 20 '23 02:06 PeterTF656