Integrations文本嵌入模型 (Text embedding models)Hugging Face HubHugging Face Hub加载 Hugging Face 嵌入类。from langchain.embeddings import HuggingFaceEmbeddingsembeddings = HuggingFaceEmbeddings()text = "这是一个测试文档。"query_result = embeddings.embed_query(text)doc_result = embeddings.embed_documents([text])