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 a9cc16c commit 37e4b25
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions actors/extended-gpt-scraper/.actor/input_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,12 @@
"default": [],
"prefill": []
},
"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"
},
"useStructureOutput": {
"sectionCaption": "JSON formatted output",
"sectionDescription": "### Get structured output data by defining a JSON schema.\n- By default, the scraper outputs text answers for each page. If you want to get data in a structured format, you can define a JSON schema.\n- The scraper uses [function](https://platform.openai.com/docs/api-reference/chat/create#chat/create-functions), which is called for each page. The function receives the page content and returns the answer in the defined JSON format.",
Expand Down
6 changes: 6 additions & 0 deletions actors/gpt-scraper/.actor/input_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,12 @@
"enumTitles": ["HTML", "Markdown"],
"default": "Markdown"
},
"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"
},
"useStructureOutput": {
"sectionCaption": "JSON formatted output",
"sectionDescription": "### Get structured output data by defining a JSON schema.\n- By default, the scraper outputs text answers for each page. If you want to get data in a structured format, you can define a JSON schema.\n- The scraper uses [function](https://platform.openai.com/docs/api-reference/chat/create#chat/create-functions), which is called for each page. The function receives the page content and returns the answer in the defined JSON format.",
Expand Down

0 comments on commit 37e4b25

Please sign in to comment.