> ## Documentation Index
> Fetch the complete documentation index at: https://langchain-5e9cc07a-preview-opensw-1778865734-3544a9b.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# FakeEmbeddings integration

> Integrate with the FakeEmbeddings embedding model using LangChain Python.

LangChain also provides a fake embedding class. You can use this to test your pipelines.

```python theme={null}
from langchain_community.embeddings import FakeEmbeddings
```

```python theme={null}
embeddings = FakeEmbeddings(size=1352)
```

```python theme={null}
query_result = embeddings.embed_query("foo")
```

```python theme={null}
doc_results = embeddings.embed_documents(["foo"])
```

***

<div className="source-links">
  <Callout icon="terminal-2">
    [Connect these docs](/use-these-docs) to Claude, VSCode, and more via MCP for real-time answers.
  </Callout>

  <Callout icon="edit">
    [Edit this page on GitHub](https://github.com/langchain-ai/docs/edit/main/src/oss/python/integrations/embeddings/fake.mdx) or [file an issue](https://github.com/langchain-ai/docs/issues/new/choose).
  </Callout>
</div>
