0.0.4 • Published 5 months ago

nexus-ai v0.0.4

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
5 months ago

nexus

A tool to interact with different AI models. It can be used either as a library or as a standalone CLI tool.

How to use

As a library

import callLLM from "nexus-ai"

const response = await callLLM({
  prompt: "What is the capital of Switzerland?",
  model: "deepseek-chat",
  apiKey: "your-api-key",
})

As a CLI tool

nexus -p "What is the capital of Switzerland?" -m deepseek-chat -k your-api-key

Development

This project is using mise to manage runtime version. To install the correct version of bun install mise and run:

mise install

To install dependencies used in this project run:

bun install

Building

To build the library:

bun run build:lib

To build the binary:

bun run build:cli

Supported Models

  • deepseek-chat
  • deepseek-reasoner
  • gemini-1.5-flash
  • gemini-2.0-flash
  • mistral
0.0.4

5 months ago

0.0.3

5 months ago

0.0.2

5 months ago

0.0.1

5 months ago