Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Join us May 13th & May 14th at Interrupt, the Agent Conference by LangChain. Buy tickets >
Python
使用 LangChain Python 集成 FakeEmbeddings 嵌入模型。
from langchain_community.embeddings import FakeEmbeddings
embeddings = FakeEmbeddings(size=1352)
query_result = embeddings.embed_query("foo")
doc_results = embeddings.embed_documents(["foo"])