Skip to content

Commit be3dd82

Browse files
committed
feat: add input_schema
1 parent 893e325 commit be3dd82

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"title": "Web Scrapping AI Agent",
3+
"type": "object",
4+
"schemaVersion": 1,
5+
"properties": {
6+
"openai_access_token": {
7+
"title": "OpenAI Access Token",
8+
"type": "string",
9+
"description": "Access token for OpenAI API",
10+
"editor": "textfield",
11+
"isSecret": true
12+
},
13+
"model": {
14+
"title": "OpenAI model",
15+
"type": "string",
16+
"description": "Select the model",
17+
"editor": "select",
18+
"default": "gpt-4",
19+
"enum": ["gpt-4", "gpt-3.5-turbo"]
20+
},
21+
"url": {
22+
"title": "URL",
23+
"type": "string",
24+
"description": "Enter the URL of the website you want to scrape",
25+
"editor": "textfield",
26+
"default": "https://docs.apify.com/academy/deploying-your-code"
27+
},
28+
"user_prompt": {
29+
"title": "User Prompt",
30+
"type": "string",
31+
"description": "What you want the AI agent to scrape from the website?",
32+
"editor": "textfield",
33+
"default": "What is actorification?"
34+
}
35+
},
36+
"required": ["openai_access_token"]
37+
}

0 commit comments

Comments
 (0)