Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

troubleshooting guide #116

Merged
merged 6 commits into from
Apr 11, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,16 @@ When loading the extension, you will need to load the `dist` folder created by t
- Add support for sharing workflows & knowledge with others
- Create wikipedia-like knowledge base where users can work together to create knowledge that can improve the WebWand's performance

## Troubleshooting

Check out our [Troubleshooting Guide](TROUBLESHOOTING.md) for help with common problems and solutions.
lynchee-owo marked this conversation as resolved.
Show resolved Hide resolved

## Contributing

Interested in contributing to WebWand? We'd love your help! Check out our [Contribution Guide](CONTRIBUTING.md) for guidelines on how to contribute, report bugs, suggest enhancements, and more.

We encourage everyone in the community to add new knowledge to the "Prior Knowledge Augmentation" system. Check out the default knowledge file ["db.json"](src/helpers/knowledge/db.json).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should have a separate document explaining how to test it and what kind of knowledge we are looking for (e.g. a knowledge that helps the agent complete a task reliably)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good suggestion! I will create another pr for contributing to knowledge.


## Credits

- WebWand's image annotation method was inspired by Microsoft's [UFO paper](https://arxiv.org/abs/2402.07939).
Expand Down
52 changes: 52 additions & 0 deletions TROUBLESHOOTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Troubleshooting Guide for WebWand

This guide aims to help you diagnose and resolve common problems you might encounter. If you're still facing difficulties after following these steps, please reach out to us through our [GitHub Issues](https://github.com/normal-computing/web-wand/issues).


## Common Issues and Solutions

### Extension Not Loading

**Symptom**: The WebWand extension doesn't appear in your browser or won't load.

**Solutions**:
lynchee-owo marked this conversation as resolved.
Show resolved Hide resolved
1. Ensure your browser is compatible with WebWand. Currently, WebWand supports Chrome.
2. Verify that `Developer mode` is enabled in `chrome://extensions/`
3. Make sure you've loaded the extension from the `dist` folder after building WebWand.
lynchee-owo marked this conversation as resolved.
Show resolved Hide resolved
4. Disable other extensions to identify if there's a conflict causing the issue.
lynchee-owo marked this conversation as resolved.
Show resolved Hide resolved

### API Key Problems

**Symptom**: Issues related to the OpenAI API key, such as authentication errors or features not working due to key issues. e.g. 404 The model `gpt-4-vision-preview` does not exist or you do not have access to it.

**Solutions**:
1. Make sure you entered a valid OpenAI API key.
lynchee-owo marked this conversation as resolved.
Show resolved Hide resolved
2. Ensure that your OpenAI API key has the necessary permissions.
lynchee-owo marked this conversation as resolved.
Show resolved Hide resolved
3. If you suspect your API key might have been compromised or isn't working for an unknown reason, consider regenerating a new key from the [OpenAI API dashboard](https://platform.openai.com/account/api-keys).

### Dom Actions Problems

**Symptom**: WebWand did not perform dom actions properly.

**Solutions**:
1. Currently WebWand does not support running in background. If you open a new tab or navigating away from the website that webwand is working on, some actions may fail. Please stay on the website where you exectute WebWand.

### Custom Knowledge Base Problems

**Symptom**: After adding a custom knowledge, WebWand crashed or did not perform corresponding to the new knowledge about the active tab.

**Solutions**:
1. Currently Webwand only supports basic entry validation of custom knowledge. Make sure you entered correct host name and correct regular expressions if using custom URL Matching Pattern.

### Voice mode Problems

**Symptom**: Webwand did not capture the speech.

**Solutions**:
1. Check if Webwand has microphone access to the browser. When you turn on the voice mode in settings, the microphone access dialog should popup on the browser, please select "allow".
2. If the dialog didn't popup, right click the webwand icon in the extensions group and select "View Web Permissions". Then select "Allow" for Microphone.


## Reporting New Issues

If you encounter a problem not covered in this guide, please help us by reporting it. Provide as much detail as possible, including steps to reproduce the issue, browser version, and any error messages you receive. Your reports are invaluable in helping us improve WebWand.
Loading