langchain/libs/partners/mistralai/tests/unit_tests
David c323742f4f
mistralai[minor]: Add embeddings (#15282)
- **Description:** Adds MistralAIEmbeddings class for embeddings, using
the new official API.
- **Dependencies:** mistralai
- **Tag maintainer**: @efriis, @hwchase17
- **Twitter handle:** @LMS_David_RS

Create `integrations/text_embedding/mistralai.ipynb`: an example
notebook for MistralAIEmbeddings class
Modify `embeddings/__init__.py`: Import the class
Create `embeddings/mistralai.py`: The embedding class
Create `integration_tests/embeddings/test_mistralai.py`: The test file.

---------

Co-authored-by: Erick Friis <erick@langchain.dev>
2024-01-16 17:48:37 -08:00
..
__init__.py mistralai: Add langchain-mistralai partner package (#14783) 2023-12-19 10:34:19 -05:00
test_chat_models.py mistralai: Add langchain-mistralai partner package (#14783) 2023-12-19 10:34:19 -05:00
test_embeddings.py mistralai[minor]: Add embeddings (#15282) 2024-01-16 17:48:37 -08:00
test_imports.py mistralai[minor]: Add embeddings (#15282) 2024-01-16 17:48:37 -08:00