0.0.4 • Published 2 years ago
tinyagi v0.0.4
TinyAGI
Typescript library for simple interop with different ML systems.
How to install
npm install tinyagior
yarn add tinyagiHow 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