node-llama-cpp

Run AI models locally on your machine with node.js bindings for llama.cpp. Enforce a JSON schema on the model output on the generation level

MIT License

Downloads
37.6K
Stars
905
Committers
6

Bot releases are visible (Hide)

node-llama-cpp - v3.0.0-beta.4

Published by github-actions[bot] 9 months ago

3.0.0-beta.4 (2024-01-21)

Features

  • minor: add --printTimings option to the chat CLI command (#138) (c0f5bd8)

Shipped with llama.cpp release b1892

To use the latest llama.cpp release available, run npx --no node-llama-cpp download --release latest. (learn more)

node-llama-cpp - v2.8.5

Published by github-actions[bot] 9 months ago

2.8.5 (2024-01-21)

Features

  • minor: add --printTimings option to the chat CLI command (#138) (c0f5bd8)
node-llama-cpp - v3.0.0-beta.3

Published by github-actions[bot] 9 months ago

3.0.0-beta.3 (2024-01-21)

Features


Shipped with llama.cpp release b1892

To use the latest llama.cpp release available, run npx --no node-llama-cpp download --release latest. (learn more)

node-llama-cpp - v2.8.4

Published by github-actions[bot] 9 months ago

2.8.4 (2024-01-20)

node-llama-cpp - v3.0.0-beta.2

Published by github-actions[bot] 9 months ago

3.0.0-beta.2 (2024-01-20)

Bug Fixes

Features


Shipped with llama.cpp release b1892

To use the latest llama.cpp release available, run npx --no node-llama-cpp download --release latest (learn more)

node-llama-cpp - v2.8.3

Published by github-actions[bot] 10 months ago

2.8.3 (2023-12-18)

Bug Fixes

node-llama-cpp - v2.8.2

Published by github-actions[bot] 11 months ago

2.8.2 (2023-12-09)

Bug Fixes

  • adapt to breaking changes of llama.cpp (#117) (595a6bc)
node-llama-cpp - v2.8.1

Published by github-actions[bot] 11 months ago

2.8.1 (2023-12-06)

node-llama-cpp - v3.0.0-beta.1

Published by github-actions[bot] 11 months ago

3.0.0-beta.1 (2023-11-26)

Features

BREAKING CHANGES

  • completely new API (docs will be updated before a stable version is released)
node-llama-cpp - v2.8.0

Published by github-actions[bot] 12 months ago

2.8.0 (2023-11-06)

Features

node-llama-cpp - v2.7.5

Published by github-actions[bot] 12 months ago

2.7.5 (2023-11-05)

node-llama-cpp - v2.7.4

Published by github-actions[bot] 12 months ago

2.7.4 (2023-10-25)

Bug Fixes

  • do not download redundant node headers (#80) (ff1644d)
  • improve cmake custom options handling (#80) (ff1644d)
  • do not set CMAKE_GENERATOR_TOOLSET for CUDA (#80) (ff1644d)
  • do not fetch information from GitHub when using a local git bundle (#80) (ff1644d)
  • GBNF JSON schema string const formatting (#80) (ff1644d)

Features

  • adapt to the latest llama.cpp interface (#80) (ff1644d)
  • print helpful information to help resolve issues when they happen (#80) (ff1644d)
  • make portable cmake on Windows more stable (#80) (ff1644d)
  • update CMakeLists.txt to match llama.cpp better (#80) (ff1644d)
node-llama-cpp - v2.7.3

Published by github-actions[bot] about 1 year ago

2.7.3 (2023-10-13)

node-llama-cpp - v2.7.2

Published by github-actions[bot] about 1 year ago

2.7.2 (2023-10-12)

Features

  • minor: save and load history to chat command (#71) (dc88531)
node-llama-cpp - v2.7.1

Published by github-actions[bot] about 1 year ago

2.7.1 (2023-10-11)

Bug Fixes

  • GeneralChatPromptWrapper output (#70) (4ff8189)
  • improve JSON schema validation error messages (#69) (c41da09)
node-llama-cpp - v2.7.0

Published by github-actions[bot] about 1 year ago

2.7.0 (2023-10-11)

Features

  • add JSON schema grammar support (#68) (8ceac05)
  • add promptWithMeta function to LlamaChatSession (#68) (8ceac05)
node-llama-cpp - v2.6.3

Published by github-actions[bot] about 1 year ago

2.6.3 (2023-10-10)

Bug Fixes

node-llama-cpp - v2.6.2

Published by github-actions[bot] about 1 year ago

2.6.2 (2023-10-09)

Bug Fixes

  • add documentation to Google Search (#65) (eb61383)
node-llama-cpp - v2.6.1

Published by github-actions[bot] about 1 year ago

2.6.1 (2023-10-09)

Bug Fixes

node-llama-cpp - v2.6.0

Published by github-actions[bot] about 1 year ago

2.6.0 (2023-10-09)

Features

  • adapt to llama.cpp changes (#60) (3400fce)
  • add repeat penalty support (#60) (3400fce)
  • improve grammar support (#60) (3400fce)
  • better API for customizing context and chat session options, while maintaining compatibility with existing API (#60) (3400fce)
  • git release bundle (#61) (ada896b)
  • new documentation website (#62) (c0deffd)
  • improve chat command (#62) (c0deffd)