# 中文词嵌入 **Repository Path**: chatopera/embeddings-zh ## Basic Information - **Project Name**: 中文词嵌入 - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2025-06-29 - **Last Updated**: 2025-07-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # embeddings-zh Embeddings with Chatopera Synonyms for chatbot, RAG. [GitHub](https://github.com/chatopera/embeddings-zh) | [Gitee](https://gitee.com/chatopera/embeddings-zh) Model: [GitHub](https://github.com/chatopera/Synonyms) | [Gitee](https://gitee.com/chatopera/Synonyms) ``` pip install -U embeddings-zh ``` Usage:: ``` from embeddings_zh import EmbeddingsZh emb = EmbeddingsZh() vector1 = emb.embed_documents([texts]) # e.g. emb.embed_documents(["今天天气怎么样", "有什么推荐"]) vector2 emb.embed_query(texts) # e.g. emb.embed_documents("有什么推荐") ``` # Tutorials * Build a chabot with langchain: [demo](./demo/) # License [LICENSE](./LICENSE)