1.0.4 • Published 7 months ago

quivr-brain-manager v1.0.4

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
7 months ago

quivr-brain-manager

Node Module to work with knowledge/brains in Quivr.

Motiviation

During AI enginerring we required a method to simply re-creation of a knowledge-space based on a set of URLs.

Usage

Add URL to default Brain

const Manager = require("quivr-brain-manager");

const config = {
    quivr_api_key:'<INSERT_YOUR_KEY_HERE>'
};

const manager = new Manager(config);

const app = async function() {
    console.log(await manager.crawl('Default brain','https://corrently.energy/'));
};

app();

Add URL to on premise installation and custom brain

const Manager = require("quivr-brain-manager");

const config = {
    quivr_api_key:'<INSERT_YOUR_KEY_HERE>',
    quivr_url:'https://yourInstallation.host.com'
};

const manager = new Manager(config);

const app = async function() {
    console.log(await manager.crawl('TestBrain','https://corrently.energy/'));
};

app();

Change TestBrain to the name or ID of your brain.

Maintainer / Imprint

LICENSE

Apache-2.0

1.0.4

7 months ago

1.0.3

7 months ago

1.0.2

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago