Closed ashishakkumar closed 3 months ago
Please change _from mistralcommon.tokens.instruct.normalize import ChatCompletionRequest to _from mistralcommon.protocol.instruct.request import ChatCompletionRequest
Hi @ashishakkumar , could you tell us where exactly you see this import? As the documentation has been fixed some time ago.
@pandora-s-git
Yes now it's fixed : https://docs.mistral.ai/guides/tokenization/#run-our-tokenizer-in-python
Python -VV
Pip Freeze
Reproduction Steps
NOT REQUIRED
Expected Behavior
As per the documentation,
ISSUE : the import is to be done like this : from mistral_common.tokens.instruct.normalize import ChatCompletionRequest
RESOLUTION : from mistral_common.protocol.instruct.request import ChatCompletionRequest
Additional Context
No response
Suggested Solutions
No response