Python
使用 LangChain Python 集成 Ascend。
Ascend 是华为提供的神经网络处理单元(NPU)
pip install torch-npu
from langchain_community.embeddings import AscendEmbeddings