lsc 2 dni temu
rodzic
commit
85ab3aef95
1 zmienionych plików z 4 dodań i 0 usunięć
  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 });