0.5.0 • Published 7 months ago

ollamajs v0.5.0

Weekly downloads
-
License
CC0-1.0
Repository
-
Last release
7 months ago

OllamaJS

A JavaScript wrapper for the Ollama API.

Installation

npm install ollamajs

Usage

import ollama from 'OllamaJS';

const prompt = 'Suggest me a book to read';
const response = ollama.getResponse(prompt);
console.log(response);

Testing

Run tests with the following command:

npm test

License

This project is licensed under the Creative Commons CC0 1.0 Universal License.

0.5.0

7 months ago