Skip to content

docs: correct small typos in Testset Generation page and related md components #2123

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/extra/components/choose_generator_llm.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
pip install langchain-openai
```

then ensure you have your OpenAI key ready and available in your environment
Then ensure you have your OpenAI key ready and available in your environment

```python
import os
os.environ["OPENAI_API_KEY"] = "your-openai-key"
```

Wrapp the LLMs in `LangchainLLMWrapper` so that it can be used with ragas.
Wrap the LLMs in `LangchainLLMWrapper` so that it can be used with ragas.

```python
from ragas.llms import LangchainLLMWrapper
Expand All @@ -31,7 +31,7 @@
pip install langchain-aws
```

then you have to set your AWS credentials and configurations
Then you have to set your AWS credentials and configurations

```python
config = {
Expand All @@ -43,7 +43,7 @@
}
```

define you LLMs and wrap them in `LangchainLLMWrapper` so that it can be used with ragas.
Define your LLMs and wrap them in `LangchainLLMWrapper` so that it can be used with ragas.

```python
from langchain_aws import ChatBedrockConverse
Expand Down
2 changes: 1 addition & 1 deletion docs/getstarted/rag_testset_generation.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This simple guide will help you generate a testset for evaluating your RAG pipeline using your own documents.

## Quickstart
Let's walk through an quick example of generating a testset for a RAG pipeline. Following that will will explore the main components of the testset generation pipeline.
Let's walk through a quick example of generating a testset for a RAG pipeline. Following that we will explore the main components of the testset generation pipeline.

### Load Sample Documents

Expand Down