@graphai/pdf2text_agent 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -26,11 +26,13 @@ const result = await graph.run();
26
26
  - pdf2textAgent - Pdf2text Agent
27
27
 
28
28
  ### Input/Output/Params Schema & samples
29
- - [pdf2textAgent](https://github.com/receptron/graphai/blob/main/docs/agentDocs/documents/pdf2textAgent.md)
29
+ - [pdf2textAgent](https://github.com/receptron/graphai-agents/blob/main/docs/agentDocs/documents/pdf2textAgent.md)
30
30
 
31
31
  ### Input/Params example
32
32
  - pdf2textAgent
33
33
 
34
+
35
+
34
36
  ```typescript
35
37
  {
36
38
  "inputs": {
@@ -3,7 +3,7 @@ export declare const pdf2textAgent: AgentFunction<{
3
3
  type: string;
4
4
  }, {
5
5
  text?: string;
6
- }, null, {
6
+ }, {
7
7
  buffer: Buffer;
8
8
  }>;
9
9
  declare const pdf2textAgentInfo: AgentFunctionInfo;
@@ -24,15 +24,19 @@ const pdf2textAgentInfo = {
24
24
  name: "pdf2textAgent",
25
25
  agent: exports.pdf2textAgent,
26
26
  mock: exports.pdf2textAgent,
27
- samples: [{
27
+ samples: [
28
+ {
28
29
  inputs: { buffer: Buffer.from("hellopdf") },
29
30
  params: { type: "md" },
30
31
  result: { test: "hello" },
31
- }],
32
+ },
33
+ ],
32
34
  description: "Pdf2text Agent",
33
35
  category: ["documents"],
34
36
  author: "Receptron team",
35
- repository: "https://github.com/receptron/graphai",
37
+ repository: "https://github.com/receptron/graphai-agents/tree/main/documents/pdf2text_agent",
38
+ source: "https://github.com/receptron/graphai-agents/tree/main/documents/pdf2text_agent/src/pdf2text_agent.ts",
39
+ package: "@graphai/pdf2text_agent",
36
40
  license: "MIT",
37
41
  };
38
42
  exports.default = pdf2textAgentInfo;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphai/pdf2text_agent",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "files": [
@@ -17,16 +17,16 @@
17
17
  },
18
18
  "repository": {
19
19
  "type": "git",
20
- "url": "git+https://github.com/isamu/graphai-agents.git"
20
+ "url": "git+https://github.com/receptron/graphai-agents.git"
21
21
  },
22
22
  "author": "",
23
23
  "license": "MIT",
24
24
  "bugs": {
25
- "url": "https://github.com/isamu/graphai-agents/issues"
25
+ "url": "https://github.com/receptron/graphai-agents/issues"
26
26
  },
27
- "homepage": "https://github.com/isamu/graphai-agents#readme",
27
+ "homepage": "https://github.com/receptron/graphai-agents#readme",
28
28
  "devDependencies": {},
29
29
  "dependencies": {
30
- "@opendocsg/pdf2md": "^0.2.0"
30
+ "@opendocsg/pdf2md": "^0.2.7"
31
31
  }
32
32
  }