Giter VIP home page Giter VIP logo

rose-apple-bit / pensieve Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 114 KB

PenSieve is essentially an imaginary file system based on prompting Large Language Models, using Pen.el as the prompting server. In layman’s terms, you drag and drop files representing thoughts, or similarly high- dimensional entities. You could, for example, drag memories between chatbots, and that would influence each of their personalities.

Home Page: https://semiosis.github.io/pensieve/

License: GNU Affero General Public License v3.0

Clojure 100.00%

pensieve's Introduction

PenSieve - A file system abstraction for prompting Large Language Models

PenSieve is essentially an imaginary file system based on prompting Large LMs, using Pen.el as the prompting server, or more accurately, a file system interface to prompting.

In layman’s terms, you drag and drop files representing thoughts, or similarly high- dimensional entities.

You could, for example, drag memories between chatbots, and that would influence each of their personalities.

File system units such as files and directories may also keep metadata, such as a prompting history, which is used to guide the prompting.

What goes in also affects what comes out, and may be used to train the model.

Asking Dumbledore for help with the design
https://asciinema.org/a/Wl8ti5oE7YK9bdwb3gzsxzB4w

Installation

Download from http://github.com/semiosis/pensieve.

Run Pen.el in the background. It’s the prompting server that powers PenSieve.

Download Pen.el from http://github.com/semiosis/pen.el.

Read about PenSieve here: https://semiosis.github.io/pensieve/.

Debugging

  • Open core.clj
  • Then jack-in
  • Then run the following
(-main "pensieve" (expand-home "$HOME/pensieve"))

Usage

Initiate the file system like so

Just provide the directory path, and the directory will be mounted imaginarily.

# A chatbot's memories
pensieve "$HOME/Dumbledore's Adventures/"

# Alternative invocation:
java -jar pensieve-0.1.0-standalone.jar "/tmp/NSA Top-Secret files/"

# This could be interesting
pensieve "$HOME/The memories of trees/"

License

Copyright © 2022 Semiotic LLC

                    GNU AFFERO GENERAL PUBLIC LICENSE
                       Version 3, 19 November 2007

 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
 Everyone is permitted to copy and distribute verbatim copies
 of this license document, but changing it is not allowed.

...

./LICENSE

AGPLv3 or later.

Project originally derived from ruse, which is also AGPL3.

https://github.com/ahungry/ruse/blob/master/README.md

pensieve's People

Contributors

mullikine 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.