Skip to content

Commit

Permalink
docs: update input schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Patai5 committed Mar 30, 2024
1 parent 8d0259e commit ebfa0e6
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
11 changes: 10 additions & 1 deletion actors/extended-gpt-scraper/.actor/input_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,20 @@
"default": [],
"prefill": []
},
"dynamicContentWaitSecs": {
"title": "Wait for dynamic content (seconds)",
"type": "integer",
"description": "The maximum time to wait for dynamic page content to load. The crawler will continue either if this time elapses, or if it detects the network became idle as there are no more requests for additional resources.",
"default": 0,
"minimum": 0,
"maximum": 10
},
"removeLinkUrls": {
"title": "Remove link URLs",
"type": "boolean",
"description": "Removes web link URLs while keeping the text content they display.\n- This helps reduce the total page content by eliminating unnecessary URLs before sending to GPT\n- Useful if you are hitting maximum input tokens limits",
"editor": "checkbox"
"editor": "checkbox",
"default": false
},
"useStructureOutput": {
"sectionCaption": "JSON formatted output",
Expand Down
11 changes: 10 additions & 1 deletion actors/gpt-scraper/.actor/input_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,20 @@
"enumTitles": ["HTML", "Markdown"],
"default": "Markdown"
},
"dynamicContentWaitSecs": {
"title": "Wait for dynamic content (seconds)",
"type": "integer",
"description": "The maximum time to wait for dynamic page content to load. The crawler will continue either if this time elapses, or if it detects the network became idle as there are no more requests for additional resources.",
"default": 0,
"minimum": 0,
"maximum": 10
},
"removeLinkUrls": {
"title": "Remove link URLs",
"type": "boolean",
"description": "Removes web link URLs while keeping the text content they display.\n- This helps reduce the total page content by eliminating unnecessary URLs before sending to GPT\n- Useful if you are hitting maximum input tokens limits",
"editor": "checkbox"
"editor": "checkbox",
"default": false
},
"useStructureOutput": {
"sectionCaption": "JSON formatted output",
Expand Down

0 comments on commit ebfa0e6

Please sign in to comment.