From 889b70093c859050c9776dddfbac7d9566d19fc2 Mon Sep 17 00:00:00 2001 From: TechPandaPro <80656576+TechPandaPro@users.noreply.github.com> Date: Fri, 2 Feb 2024 03:02:42 -0700 Subject: [PATCH] fix: update deprecated pnpx to pnpm dlx (#501) --- README.md | 2 +- examples/chromadb/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 87e21a47c..23284d2f4 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ main(); Then you can run it using ```bash -pnpx ts-node example.ts +pnpm dlx ts-node example.ts ``` ## Playground diff --git a/examples/chromadb/README.md b/examples/chromadb/README.md index 5b1c6d7b2..da7bd0a1e 100644 --- a/examples/chromadb/README.md +++ b/examples/chromadb/README.md @@ -6,7 +6,7 @@ Export your OpenAI API Key using `export OPEN_API_KEY=insert your api key here` If you haven't installed chromadb, run `pip install chromadb`. Start the server using `chroma run`. -Now, open a new terminal window and inside `examples`, run `pnpx ts-node chromadb/test.ts`. +Now, open a new terminal window and inside `examples`, run `pnpm dlx ts-node chromadb/test.ts`. Here's the output for the input query `Tell me about Godfrey Cheshire's rating of La Sapienza.`: -- GitLab