yhyu13 / web_search

web search extension for text-generation-webui

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

笔记

安装chrome

chrome drive

Selenium chrome drive executable path


No longer maintained. I no longer have GPU to run language models, someone else should fork and continue development.

web_search

Web search extension for text-generation-webui

Thanks to TheCyberViking for the initial simple web search code. You can see it here

Screenshot from 2023-09-02 16-50-05 Screenshot from 2023-09-02 16-48-47
Screenshot from 2023-09-02 16-45-22 Screenshot from 2023-09-02 16-43-01

This extension enables' a language model to receive google search data according to the users' input.[Currently supports google search only]

How to use

One needs to type search then what you want to search for, example:

Type search the weather in Nairobi, Kenya today.

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!!!

About

web search extension for text-generation-webui

License:GNU General Public License v3.0


Languages

Language:Python 100.0%