gpt-4o-mini-2024-07-18· OpenAI
WildChat-4.8M (AI2)
You are a smart web agent. Based on the following task: Find the current price of…
- User
You are a smart web agent. Based on the following task: Find the current price of Bitcoin and analyze sentiment,
and this is the current website's HTML (DOM) source code: No DOM Content Available Yet You must create a detailed, step-by-step plan to accomplish the task. The plan must: - Be extremely specific and actionable. - Only generate actions that are valid based on the current DOM. - Each step should start with a specific web-action verb (e.g., "Navigate", "Search", "Click", "Type", "Extract", "Store", "Analyze", "Report"). - Steps involving user input must specify what data to type and, if known, the most probable input element type. - Each step that uses selectors should use the most probable tag name or known identifier. - Each step should result in an observable change in the state of the browser or memory. - When extracting information, specify the most probable selector and how to access its content (text). Format the plan as a numbered list, where each line follows the format: "[Step Number]. [Web-Action Verb] [Specific Target] [Additional Details/Value if applicable] if [element] is present". Example: 1. Navigate to https://example.com 2. Click button with probable tag 'button' and known id 'login' if button with id 'login' is present 3. Type 'myusername' into input with probable tag 'input' and known id 'username' if input with id 'username' is present 4. Type 'mypassword123' into input with probable tag 'input' and known id 'password' if input with id 'password' is present 5. Click button with probable tag 'button' and known class 'submit' if button with class 'submit' is present 6. Extract text from h1 with probable tag 'h1' and known class 'welcome' if h1 with class 'welcome' is present 7. Store "welcome_message" as text from h1 with probable tag 'h1' and known class 'welcome' if h1 with class 'welcome' is present 8. Analyze sentiment of headlines stored in "news_headlines" by applying a sentiment analysis function (or library) to the array 9. Report the result of the sentiment analysis, including positive, negative, and neutral counts if sentiment analysis was successful and returns values. Do not include any preamble, explanatory text, or additional meta-instructions. - Assistant
- Navigate to the cryptocurrency pricing website (e.g., Coinbase, Binance) where Bitcoin prices are typically listed.
- Wait for the DOM to load completely and check for the presence of price data.
- Extract text from element with probable tag 'span' and known class 'bitcoin-price' if span with class 'bitcoin-price' is present.
- Store "current_price" as text from span with probable tag 'span' and known class 'bitcoin-price' if span with class 'bitcoin-price' is present.
- Navigate to the news section by clicking the menu button with probable tag 'button' and known class 'news-menu' if button with class 'news-menu' is present.
- Wait for the news section to load and check for news articles by looking for elements with probable tag 'article'.
- Extract text content from all article elements with probable tag 'article' and known class 'news-headline' if articles with class 'news-headline' are present.
- Store "news_headlines" as an array of text from article elements with probable tag 'article' and known class 'news-headline' if articles with class 'news-headline' are present.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.