quivr-brain-manager

1.0.4 • Public • Published

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

STROMDAO GmbH
Gerhard Weiser Ring 29
69256 Mauer
Germany

+49 6226 968 009 0

kontakt@stromdao.com

Handelsregister: HRB 728691 (Amtsgericht Mannheim)

LICENSE

Apache-2.0

Readme

Keywords

Package Sidebar

Install

npm i quivr-brain-manager

Weekly Downloads

0

Version

1.0.4

License

Apache-2.0

Unpacked Size

18.6 kB

Total Files

4

Last publish

Collaborators

  • zoernert