Javascript / Node.js

Getting Started

To install llongterm, use npm or yarn:

npm install llongterm

or

yarn add llongterm

After installation, ensure you setup your .env file to house your credentials privately.

OPENAI_API_KEY=abcdefg...
LLONGTERM_KEY=hijklmnop

Then we can initialise Llongterm.

import Llongterm from 'llongterm'
// after importing Llongterm

const llongterm = new Llongterm({
  keys: { llongterm: process.env.LLONGTERM_KEY, openai: process.env.OPENAI_API_KEY },
});

To get all you can out of Llongterm, you'll need to create a mind that can store memory. That's next!

Last updated