Skip to content

Okinuv/duck_search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Dec 27, 2023
187756f · Dec 27, 2023

History

2 Commits
Dec 27, 2023
Dec 27, 2023
Dec 27, 2023
Dec 27, 2023
Dec 27, 2023
Dec 27, 2023
Dec 27, 2023

Repository files navigation

ko-fi

Ko-Fi for the original extension author! Send him some love.

web_search [WIP] -- DuckDuckGo Version

Web search extension for text-generation-webui. Modified to automatically be enabled, use DuckDuckGo as the search provider, and not override the current context.

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 DuckDuckGo search data according to the users' input.[Currently supports DuckDuckGo 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.

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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages