Chroma Mistral Embed Fn
mistral-cookbookthird_partyChromaDB
Export
✨ Using Mistral-Embed with ChromaDB
Author: Grant Smith
GitHub: ggsmith842
This notebook walks through how to use MistralAI's mistral-embed model as a custom embedding function in the ChromaDB vector database.
Documentation Links
[1]
[ ]
[5]
Please provide your mistralai api key:··········
[8]
[14]
[11]
Please provide your MistralAi API Key:··········
[12]
[13]
{'ids': ['id0', 'id1'],
, 'embeddings': array([[-0.00104618, 0.03088379, 0.06524658, ..., -0.02191162,
, 0.00763321, -0.02656555],
, [-0.05441284, 0.0423584 , 0.02516174, ..., -0.00370789,
, -0.00035167, -0.00721359]]),
, 'documents': ['A new, a vast, and a powerful language is developed for the future use of analysis, in which to wield its truths so that these may become of more speedy and accurate practical application for the purposes of mankind than the means hitherto in our possession have rendered possible.',
, 'A computer would deserve to be called intelligent if it could deceive a human into believing that it was human.'],
, 'uris': None,
, 'included': ['metadatas', 'documents', 'embeddings'],
, 'data': None,
, 'metadatas': [{'attribution': 'Ada Lovelace'},
, {'attribution': 'Alan Turing'}]}