# 如何使用嵌入实现Mistral

**URL:** <https://meta.discourse.org/t/how-to-implement-mistral-with-embeddings/361095>\
**Category:** Support\
**Tags:** ai, related-topics\
**Created:** [2025年四月9日 15:36 UTC](https://meta.discourse.org/t/how-to-implement-mistral-with-embeddings/361095 "2025-04-09T15:36:33Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [2025年四月10日 19:00 UTC](https://meta.discourse.org/t/how-to-implement-mistral-with-embeddings/361095/4 "2025-04-10T19:00:10Z")

</div>

根据一些分词器，您上面的帖子长度如下：

OpenAI：45  
Mixtral：52  
Gemini：47  
E5：50  
bge-large-en：49  
bge-m3：50  
mpnet：49

看起来 Mistral-embed 与其他分词器差别不大。而且由于它支持 8k 的非常大的上下文窗口，您可以放心地选择任何一个，并通过将 Discourse 中的上下文窗口限制为 7k 或 7.5k 来留出一些余地。

---

_[View the full topic](https://meta.discourse.org/t/how-to-implement-mistral-with-embeddings/361095)._
