lsc 2 일 전
부모
커밋
85ab3aef95
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      pbl.js

+ 4 - 0
pbl.js

@@ -1021,10 +1021,14 @@ router.route("/getEntitiesAndRelationships").all(async (req, res, next) => {
             const response = await client.documents.listEntities({
                 id: documentId,
                 includeVectors: false,
+                offset,
+                limit,
             });
             const response2 = await client.documents.listRelationships({
                 id: documentId,
                 includeVectors: false,
+                offset,
+                limit,
             });
             res.status(200).json({ Entities: response, Relationships: response2 });