organization · inferred from evidence
mistralai
The organization behind the mistralai Python SDK.
- ImportError: cannot import name Mistral from mistralai after mixing conda and pip installs
Importing the client failed with `ImportError: cannot import name 'Mistral' from 'mistralai'` even though the package appeared installed. The reporter had installed `mistralai` with conda, which gave the old 0.x release, and then with pip,
- mistralai Python SDK: `files.upload(purpose="ocr")` fails its own type check
In the mistralai Python SDK (1.5.1), `client.files.upload(file={...}, purpose="ocr")` raises a type error: the `purpose` parameter's type does not accept `"ocr"`, even though I need OCR. The upload itself works if I bypass the type check. I