Web Weaver is not just for everyday users—it’s also a versatile tool for site developers. This browser extension offers a customisable AI assistant for your website, capable of reading page contents, answering queries, and executing actions through generated code. Developers can tailor the way Web Weaver interacts with their site, offering a unique and personalised AI experience to their visitors. Let’s delve into how to make Web Weaver work best for your site.
Code Generation and Execution
Web Weaver AI capability includes the generation and execution of code that can affect the current webpage. All generated code can be previewed before it’s executed by clicking the play icon, ensuring you maintain full control over what changes occur. The browser extension’s access is restricted to the active page when you click the Web Weaver icon, ensuring privacy and security across other tabs and windows.
Language Sensitivity
The AI assistant is precise and sensitive to the language used in prompts. For instance, asking the AI to “change the text to green” may not yield the desired results, but specifying “change all text on this page to green” is more likely to work. The AI understands this prompt as an instruction to alter all the text, not just a random piece. However, remember that the technology is still in its infancy and the generative AI might not always provide a perfect response.
Web Site Developer Customisation
Web Weaver takes a text-only snapshot of the current page whenever a user sends a message. This snapshot allows the AI to better understand the page and provide more relevant answers. As a site developer, you have the power to customise the text given to the AI and define actions that the AI can perform on the page.
For instance, you might be developing a video conferencing site where you want Web Weaver to mute or unmute the user. You can define these actions and customise how the AI understands your page as shown below:
Below some example code:
In the above example, the pageSummary provides a brief explanation of the page, helping the AI understand its purpose. The actions are defined as JavaScript functions that execute specific tasks when invoked by the AI.
Please note that the space available for the page context is limited, so make sure your summary and action descriptions are as short and concise as possible.
Web Weaver represents an exciting evolution in web browsing. With its ability to interact with users and adapt to site-specific actions, it offers a unique, personalised experience that is bound to enhance user engagement. As a developer, the opportunity to customise and integrate Web Weaver’s AI capabilities within your site can open up a new world of interactive possibilities.
For more information click the Settings icon inside web companion and elect Documentation.