diff --git a/docs/extra/components/choose_generator_llm.md b/docs/extra/components/choose_generator_llm.md index e20bcabaa..13c6e04db 100644 --- a/docs/extra/components/choose_generator_llm.md +++ b/docs/extra/components/choose_generator_llm.md @@ -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 @@ -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 = { @@ -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 diff --git a/docs/getstarted/rag_testset_generation.md b/docs/getstarted/rag_testset_generation.md index 48300662d..c681cd7c5 100644 --- a/docs/getstarted/rag_testset_generation.md +++ b/docs/getstarted/rag_testset_generation.md @@ -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