Skip to content

Commit 89b7861

Browse files
committed
fix: import node post processor
1 parent 8e1dbde commit 89b7861

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

templates/components/engines/typescript/chat/nodePostprocessors.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
import {
2-
BaseNodePostprocessor,
3-
MessageContent,
4-
NodeWithScore,
5-
} from "llamaindex";
1+
import { BaseNodePostprocessor } from "@llamaindex/core/postprocessor";
2+
import { MessageContent, NodeWithScore } from "llamaindex";
63

74
class NodeCitationProcessor implements BaseNodePostprocessor {
85
/**

templates/types/streaming/express/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"duck-duck-scrape": "^2.2.5",
2222
"express": "^4.18.2",
2323
"llamaindex": "0.8.1",
24+
"@llamaindex/core": "^0.4.1",
2425
"pdf2json": "3.0.5",
2526
"ajv": "^8.12.0",
2627
"@e2b/code-interpreter": "0.0.9-beta.3",

templates/types/streaming/nextjs/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"formdata-node": "^6.0.3",
2929
"got": "^14.4.1",
3030
"llamaindex": "0.8.1",
31+
"@llamaindex/core": "^0.4.1",
3132
"lucide-react": "^0.294.0",
3233
"next": "^14.2.4",
3334
"react": "^18.2.0",

0 commit comments

Comments
 (0)