Skip to content

Releases: withcatai/catai

v3.2.2

21 Jun 17:22
Compare
Choose a tag to compare

3.2.2 (2024-06-21)

Bug Fixes

  • bump: node-llama-cpp@beta version (64f7e68)
  • bump: node-llama-cpp@beta version (4a898e6)

v3.2.1

10 May 21:46
Compare
Choose a tag to compare

3.2.1 (2024-05-10)

Bug Fixes

  • models: interactions (5bb7e24)
  • models: skip existing models (c96435c)
  • show only compatible models (933393e)

v3.2.0

10 May 15:52
Compare
Choose a tag to compare

3.2.0 (2024-05-10)

Features

  • better api support for node-llama-cpp@beta (0ecce70)

Development API + Node-llama-cpp@beta integration

You can use the model with node-llama-cpp@beta

CatAI enables you to easily manage the models and chat with them.

import {downloadModel, getModelPath} from 'catai';

// download the model, skip if you already have the model
await downloadModel(
    "https://huggingface.co/QuantFactory/Meta-Llama-3-8B-Instruct-GGUF/resolve/main/Meta-Llama-3-8B-Instruct.Q2_K.gguf?download=true",
    "llama3"
);

// get the model path with catai
const modelPath = getModelPath("llama3");

const llama = await getLlama();
const model = await llama.loadModel({
    modelPath
});

const context = await model.createContext();
const session = new LlamaChatSession({
    contextSequence: context.getSequence()
});

const a1 = await session.prompt("Hi there, how are you?");
console.log("AI: " + a1);

v3.1.1

26 Jan 19:24
cc54125
Compare
Choose a tag to compare

3.1.1 (2024-01-26)

Bug Fixes

  • open ws on catai remote (cc54125)

v3.1.0

18 Jan 09:37
3b0d750
Compare
Choose a tag to compare

3.1.0 (2024-01-18)

Features

v3.1.0-beta.2

14 Dec 10:04
Compare
Choose a tag to compare
v3.1.0-beta.2 Pre-release
Pre-release

3.1.0-beta.2 (2023-12-14)

Bug Fixes

  • node-llama-cpp beta deps (c68dc2a)

v3.1.0-beta.1

14 Dec 09:38
b47a985
Compare
Choose a tag to compare
v3.1.0-beta.1 Pre-release
Pre-release

3.1.0-beta.1 (2023-12-14)

Features

v3.0.2

26 Oct 16:42
a9d2e3c
Compare
Choose a tag to compare

3.0.2 (2023-10-26)

v3.0.1

26 Oct 16:28
8bbcd82
Compare
Choose a tag to compare

3.0.1 (2023-10-26)

v3.0.0

30 Sep 19:40
4a44140
Compare
Choose a tag to compare

3.0.0 (2023-09-30)

  • BREAKING CHANGE: binding for node-llama-cpp (v1) dropped (#47) (4a44140), closes #47

BREAKING CHANGES

  • .ggml models are not supported anymore