Skip to content

text-generation-webui extension that parses any links and summarizes them, allowing the AI assistant to use the content for answers.

License

Notifications You must be signed in to change notification settings

src-r-r/hello_outside_world

Repository files navigation

🌎 Hello, Outside World!

(medium close up:1.6), low angle shot, friendly nerdy cartoon character stepping out of his house for the first time in a while and waving to the outside world on a sunny day, looking away, at an angle, ultra detail, generated using Stable-Diffusion-XL with InvokeAI

text-generation-webui extension that parses any links and summarizes them, allowing the AI assistant to use the content for answers.

Short web pages are not summarized.

If a link is invalid, then it remains in the chat, but is highligted red.

Screenshots

Textgen-ui screen. The AI is asking "How can I help you Today?". The user has entered "What are the risks of something like this? with a link to a news article", but hasn't clicked "Generate".

Textgen-ui screen after the user has clicked "Generate". The User text reads "What are the risks of something like this? Your car might be watching you to keep you safe − at the expense of your privacy". The link has changed to the article title. Included is an article summary. The AI says "Is Typing..."

The AI has now responded with it's so-called thoughts on the article, focusing on its concerns about privacy risks.

Installation

Assuming text-generation-webui is already set up, here is how to install the extension:

  1. Clone the repo https://github.com/src-r-r/hello_outside_world into the directory ${TEXTGEN_ROOT}/extensions
$ export TEXTGEN_ROOT=$HOME/text-generation-webui # or wherever text-generation-webui is installed
$ cd ${TEXTGEN_ROOT}/extensions
$ git clone https://github.com/src-r-r/hello_outside_world
  1. Install the python packages in requirements.txt file with ${TEXTGEN_ROOT}/installer_packages/env/bin/python -m pip install -r ${TEXTGEN_ROOT}/installer
$ ${TEXTGEN_ROOT}/installer_packages/env/bin/python -m pip install -r ${TEXTGEN_ROOT}/extensions/hello_outside_world
  1. Enable hello_outside_world in Session.

  2. Click "Apply flags/extensions and restart".

  3. Profit!

Usage example

Once "Hello, Outer World!" is installed, you should see the window in app settings:

Hello, Outside World! options Pane

NOTE: Currently this feature is exprimental for notebook & default windows and will probably not work.

Development setup

Describe how to install all development dependencies and how to run an automated test-suite of some kind. Potentially do this for multiple platforms.

make install
npm test

Release History

  • 0.2.1
    • CHANGE: Update docs (module code remains unchanged)
  • 0.2.0
    • CHANGE: Remove setDefaultXYZ()
    • ADD: Add init()
  • 0.1.1
    • FIX: Crash when calling baz() (Thanks @GenerousContributorName!)
  • 0.1.0
    • The first proper release
    • CHANGE: Rename foo() to bar()
  • 0.0.1
    • Work in progress

Meta

Your Name – @DamnGoodTekjordan@damngood.tech

Distributed under the XYZ license. See LICENSE for more information.

https://github.com/src-r-r/hello_outside_world

Contributing

  1. Fork it (https://github.com/yourname/yourproject/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

About

text-generation-webui extension that parses any links and summarizes them, allowing the AI assistant to use the content for answers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published