> ## Documentation Index
> Fetch the complete documentation index at: https://langchain.idochub.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Fake Embeddings

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"])
```
