Skip to content

Commit b550e55

Browse files
authored
Fix link to langchain and add pip install (#1762)
This PR fixes two docs issues that I ran into while going through this how-to guide.
1 parent 2ed390c commit b550e55

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/getstarted/rag_testset_generation.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ git clone https://huggingface.co/datasets/explodinggradients/Sample_Docs_Markdow
1515

1616
### Load documents
1717

18-
Now we will load the documents from the sample dataset using `DirectoryLoader`, which is one of document loaders from [langchain_community](https://python.langchain.com/v0.1/docs/modules/data_connection/document_loaders/). You may also use any loaders from [llama_index](https://docs.llamaindex.ai/en/stable/understanding/loading/llamahub/)
18+
Now we will load the documents from the sample dataset using `DirectoryLoader`, which is one of the document loaders from [langchain_community](https://python.langchain.com/docs/concepts/document_loaders/). You may also use any loaders from [llama_index](https://docs.llamaindex.ai/en/stable/understanding/loading/llamahub/)
19+
20+
```shell
21+
pip install langchain-community
22+
```
1923

2024
```python
2125
from langchain_community.document_loaders import DirectoryLoader

0 commit comments

Comments
 (0)