1.0.4 • Published 2 years ago

quivr-brain-manager v1.0.4

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years 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

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago