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 2 years 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

@PeterTF656 , this shouldn't happen, as I looked at the code. Could you check if it is still happening?

murdadesmaeeli avatar Nov 20 '23 20:11 murdadesmaeeli