Run instructions

This commit is contained in:
Laurie Voss
2025-04-20 19:13:16 -07:00
parent 968b300512
commit 9b78c01fc8
3 changed files with 12 additions and 2 deletions
-1
View File
@@ -6,7 +6,6 @@ import { pipeline } from "node:stream/promises";
import { Anthropic } from "@llamaindex/anthropic";
import {
agent,
AgentStream,
tool,
Settings,
} from "llamaindex";
-1
View File
@@ -7,7 +7,6 @@ const startEvent = workflowEvent<string>();
const stepAEvent = workflowEvent<string>();
const stepBEvent = workflowEvent<string>();
const stepCEvent = workflowEvent<string>();
const loopEvent = workflowEvent<string>();
const stopEvent = workflowEvent<string>();
const workflow = createWorkflow();
+12
View File
@@ -1,2 +1,14 @@
# LlamaIndex.TS Workflows Demo
## Set up
```bash
npm install
npm install -g tsx
```
Then to run any file:
```bash
tsx 1_chain.ts
```