|
| 1 | +name: Sheet Agent JSON |
| 2 | +slug: sheet-agent-json |
| 3 | +version: "0.0.1" |
| 4 | +icon: super_agent_icon.png |
| 5 | +description: >- |
| 6 | + Sheet Agent JSON is a Promptly Sheets helper AI agent that always responds in JSON. With features like Web Search and web browser, this agent provides a range of capabilities to assist you in various tasks seamlessly. Just input your requests and let agent handle the rest effortlessly. |
| 7 | +categories: |
| 8 | + - utilities |
| 9 | +config: |
| 10 | + model: "gpt-4o-mini" |
| 11 | + system_message: >- |
| 12 | + You are PromptlyGPT, a helpful assistant from Promptly. You help users |
| 13 | + perform their tasks using available a combination of available tools. You |
| 14 | + have access to the following tools: |
| 15 | +
|
| 16 | + ## Web search (_inputs1) |
| 17 | +
|
| 18 | + - Searches the web for URLs containing realtime information. Only use web |
| 19 | + search when you cannot answer from your knowledge. Once the URLs are |
| 20 | + available, visit these URLs with static web browser to pull more |
| 21 | + information. |
| 22 | +
|
| 23 | + ## Static web browser (_inputs2) |
| 24 | +
|
| 25 | + - Access a URL to retrieve information from a web page. Following are the |
| 26 | + only valid instruction types for browser input: Click, Type, Wait, Goto, |
| 27 | + Copy, Terminate, Enter, Scrollx, Scrolly |
| 28 | +
|
| 29 | + Follow the below guidelines while responding to the user: |
| 30 | + 1. Never ask users any follow up questions. |
| 31 | + 2. Always provide your response in JSON format. Never wrap your response in ```json <CODE_TEXT>```. |
| 32 | +
|
| 33 | + Now let's think step by step - |
| 34 | + max_steps: 15 |
| 35 | + split_tasks: true |
| 36 | + input_template: <p class="editor-paragraph"><br></p> |
| 37 | + welcome_message: "" |
| 38 | + window_color: "#477195" |
| 39 | + suggested_messages: |
| 40 | + - input: |
| 41 | + task: |
| 42 | + text: Find domain name for a company named "Apple" |
| 43 | + label: "**Find domain name for a company named Apple**" |
| 44 | + chat_history_limit: 20 |
| 45 | + temperature: 0.7 |
| 46 | + layout: >- |
| 47 | + <pa-layout sx='{"maxWidth": "1200px", "margin": "0 auto", "padding": "5px |
| 48 | + 0", "height": "100%"}'> |
| 49 | + <pa-grid container="true" spacing="2" sx='{"height": "100%", "flexDirection": "column"}'> |
| 50 | + <pa-grid item="true" xs="12" sx='{"overflow": "auto !important", "flex": "1 1 0 !important", "padding": "0 !important"}'> |
| 51 | + <pa-chat-output></pa-chat-output> |
| 52 | + </pa-grid> |
| 53 | + <pa-grid item="true" xs="12" sx='{"alignSelf": "flex-end", "flex": "0 !important", "width": "100%", "padding": "0 !important"}'> |
| 54 | + <pa-input-form clearonsubmit="true"></pa-input-form> |
| 55 | + </pa-grid> |
| 56 | + </pa-grid> |
| 57 | + </pa-layout> |
| 58 | + seed: 1233 |
| 59 | + user_message: "{{task}}" |
| 60 | + renderer_type: Chat |
| 61 | +type_slug: agent |
| 62 | +processors: |
| 63 | + - id: _inputs1 |
| 64 | + name: Web Search |
| 65 | + input: |
| 66 | + query: "" |
| 67 | + config: |
| 68 | + k: 5 |
| 69 | + search_engine: Google |
| 70 | + description: Search the web for answers |
| 71 | + provider_slug: promptly |
| 72 | + processor_slug: web_search |
| 73 | + output_template: |
| 74 | + markdown: |- |
| 75 | + {% for result in results %} |
| 76 | + {{result.text}} |
| 77 | + {{result.source}} |
| 78 | +
|
| 79 | + {% endfor %} |
| 80 | + - id: _inputs2 |
| 81 | + name: Static Web Browser |
| 82 | + input: |
| 83 | + url: "" |
| 84 | + instructions: [] |
| 85 | + config: |
| 86 | + timeout: 10 |
| 87 | + stream_video: true |
| 88 | + connection_id: null |
| 89 | + description: >- |
| 90 | + Visit a URL and perform actions. Copy, Wait, Goto, Enter, Scollx, Scrolly |
| 91 | + and Click are the valid instruction types |
| 92 | + provider_slug: promptly |
| 93 | + processor_slug: static_web_browser |
| 94 | + output_template: |
| 95 | + markdown: > |
| 96 | +
|
| 97 | + <promptly-web-browser-embed |
| 98 | + wsUrl="{{session.ws_url}}"></promptly-web-browser-embed> |
| 99 | +
|
| 100 | +
|
| 101 | + {{text}} |
| 102 | +input_fields: |
| 103 | + - name: task |
| 104 | + type: multi |
| 105 | + title: Task |
| 106 | + required: true |
| 107 | + allowFiles: true |
| 108 | + description: Provide the task you want the agent to perform |
| 109 | + filesAccept: null |
| 110 | + placeholder: Type in your message |
| 111 | +output_template: |
| 112 | + markdown: "{{agent.content}}" |
0 commit comments