Skip to content

Commit

Permalink
docs: add clone dataset command to rag evaluation tutorial (#406)
Browse files Browse the repository at this point in the history
While following the RAG evaluation page and doing the tutorial, I got an
error `LangSmithNotFoundError: Dataset LCEL-QA not found`.

Since it is necessary to clone the LCEL-QA dataset beforehand in order
to use it, I added a command of cloning dataset to the sample code.

Probably related to the following issue:
#297
  • Loading branch information
hinthornw authored Aug 30, 2024
2 parents f4e165f + 5c064c3 commit 208edda
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions versioned_docs/version-2.0/tutorials/Developers/rag.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ _set_env("LANGCHAIN_API_KEY")

```python
### Dataset name

# Clone dataset
client = Client()
dataset = client.clone_public_dataset(
"https://smith.langchain.com/public/730d833b-74da-43e2-a614-4e2ca2502606/d"
)

dataset_name = "LCEL-QA"
```

Expand Down

0 comments on commit 208edda

Please sign in to comment.