From ed4fe4ac22a70a73d0a71ae37429afb5bec98667 Mon Sep 17 00:00:00 2001 From: Yi Ding <yi.s.ding@gmail.com> Date: Fri, 21 Jul 2023 11:02:48 -0700 Subject: [PATCH] add pnpm install to the examples README --- apps/simple/README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/apps/simple/README.md b/apps/simple/README.md index 61658cbfe..b7f57b3dc 100644 --- a/apps/simple/README.md +++ b/apps/simple/README.md @@ -1,5 +1,9 @@ # Simple Examples -Due to packaging, you will need to run `pnpm --filter llamaindex build` before running these examples. +Due to packaging, you will need to run these commands to get started. +```bash +pnpm --filter llamaindex build +pnpm install +``` -Run them with ts-node, for example `npx ts-node vectorIndex.ts` +Then run the examples with `ts-node`, for example `npx ts-node vectorIndex.ts` -- GitLab