Skip to content

Commit

Permalink
fix: import node post processor
Browse files Browse the repository at this point in the history
  • Loading branch information
thucpn committed Nov 1, 2024
1 parent 8e1dbde commit 89b7861
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import {
BaseNodePostprocessor,
MessageContent,
NodeWithScore,
} from "llamaindex";
import { BaseNodePostprocessor } from "@llamaindex/core/postprocessor";
import { MessageContent, NodeWithScore } from "llamaindex";

class NodeCitationProcessor implements BaseNodePostprocessor {
/**
Expand Down
1 change: 1 addition & 0 deletions templates/types/streaming/express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"duck-duck-scrape": "^2.2.5",
"express": "^4.18.2",
"llamaindex": "0.8.1",
"@llamaindex/core": "^0.4.1",
"pdf2json": "3.0.5",
"ajv": "^8.12.0",
"@e2b/code-interpreter": "0.0.9-beta.3",
Expand Down
1 change: 1 addition & 0 deletions templates/types/streaming/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"formdata-node": "^6.0.3",
"got": "^14.4.1",
"llamaindex": "0.8.1",
"@llamaindex/core": "^0.4.1",
"lucide-react": "^0.294.0",
"next": "^14.2.4",
"react": "^18.2.0",
Expand Down

0 comments on commit 89b7861

Please sign in to comment.