Our new LangChain Academy course on Deep Agents is now live! Enroll for free.
OSS (v1-alpha)
LangChain and LangGraph
from langchain_community.embeddings import FakeEmbeddings
embeddings = FakeEmbeddings(size=1352)
query_result = embeddings.embed_query("foo")
doc_results = embeddings.embed_documents(["foo"])
Was this page helpful?