Git Product home page Git Product logo

lynx-extension's Introduction

Lynx

URL retrieval extension for text-generation-webui.

Warning

No safety checks.

Use

Type, lynx, links, or summarize, then the URLl optionally followed by a newline and user questions.

Retrieval

Type !lynx https://www.example.com

Type !links https://www.example.com

Retrieval and Questions

Alternatively, you can use Lynx followed the URL with a new line and then a question to be answered, e.g.:

Type

!lynx https://www.example.com
List the main authors.

or

!links https://www.example.com
List the main authors.

Summary

!summarize https://example.com

or

summarize https://example.com
Put main cobclusion first.

Install

Make sure to run these commands after startign the Python environment with the cmd script that came with text-generation-webui, e.g. for Linux use: cmd_linux.sh

  1. Clone the repository into the extensions folder within the text-generation-webui project directory using the command:

    git clone https://github.com/yourusername/yourrepository.git lynx
    cd lynx
    # pip install -r requirements.txt
  2. add the extension by modifying the launch commands for text-generation-webui, usually by editing CMD_FLAGS.txt to add --extension lynx

  3. Finally, launch the text-generation-webui application. A new option labeled "Use Lynx" should appear in the chat tab when launched. Enabling this checkbox activates the extension; disabling it deactivates it.

References

lynx-extension's People

Contributors

leighklotz avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.