https://github.com/tcsenpai/oobabooga_web_search
Fork of: \: moved from thecookingsenpai for migration using CloneReclone.bash
https://github.com/tcsenpai/oobabooga_web_search
Last synced: 7 months ago
JSON representation
Fork of: \: moved from thecookingsenpai for migration using CloneReclone.bash
- Host: GitHub
- URL: https://github.com/tcsenpai/oobabooga_web_search
- Owner: tcsenpai
- License: gpl-3.0
- Created: 2023-12-25T12:28:53.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-25T12:28:56.000Z (almost 2 years ago)
- Last Synced: 2025-01-14T00:12:07.773Z (9 months ago)
- Language: Python
- Homepage: https://github.com
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Private fork for maintainance. Feel free to use it but don't expect all to be smooth.
# web_search
Web search extension for [text-generation-webui](https://github.com/oobabooga/text-generation-webui)Thanks to [TheCyberViking](https://github.com/TheCyberViking) for the initial simple web search code. You can see it [here](https://github.com/oobabooga/text-generation-webui/discussions/932)
|  |  |
|:---:|:---:|
|  | |This extension enables' a language model to receive google search data according to the users' input.[Currently supports google search only]
How to use
Type search then what you want to search for, example:
Type ```search the weather in Nairobi, Kenya today.```
Alternatively, you can type search followed by search query in double quotation marks and then a question to be answered, e.g.:
Type ```search "the weather in Amsterdam" and tell me what should I wear.```
Requirements
- Google chrome browser
How to install
*** Make sure to run these commands in the cmd script that came with text-generation-webui. eg ```cmd_linux.sh```(Linux) ***
1. First clone the repo to ```text-generation-webui/extensions``` folder
2. Then ```cd web_search``` and run ```pip install -r requirements.txt```
3. Add ```web_search``` to launch commands of text-generation-webui
like so ```--extension web_search```4. Run text-gen-webui. There will be a checkbox with label ```Use Google Search``` in chat tab, this enables or disables the extension.
5. Done
!!!Have fun!!!