tinyagi
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

TinyAGI

Typescript library for simple interop with different ML systems.

How to install

npm install tinyagi

or

yarn add tinyagi

How to use

Currently we only support ollama.ai client. You can use it like this:

import { OllamaClient } from "tinyagi";

const client = new OllamaClient();
let generated = await client.generate("mitral:latest", "Hey, how do you do?");
console.log(generated.response);

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i tinyagi

Weekly Downloads

0

Version

0.0.4

License

MIT

Unpacked Size

27.5 kB

Total Files

29

Last publish

Collaborators

  • steve.kite