An open API service indexing awesome lists of open source software.

https://github.com/jellydn/gpt4all-cli

By utilizing GPT4All-CLI, developers can effortlessly tap into the power of GPT4All and LLaMa without delving into the library's intricacies. Simply install the CLI tool, and you're prepared to explore the fascinating world of large language models directly from your command line!
https://github.com/jellydn/gpt4all-cli

cli gpt4all gpt4all-ts llama

Last synced: about 2 months ago
JSON representation

By utilizing GPT4All-CLI, developers can effortlessly tap into the power of GPT4All and LLaMa without delving into the library's intricacies. Simply install the CLI tool, and you're prepared to explore the fascinating world of large language models directly from your command line!

Awesome Lists containing this project

README

          

Welcome to gpt4all-cli 👋

[![Version](https://img.shields.io/npm/v/gpt4all-cli.svg)](https://npmjs.org/package/gpt4all-cli)
[![Downloads/week](https://img.shields.io/npm/dw/gpt4all-cli.svg)](https://npmjs.org/package/gpt4all-cli)
[![License](https://img.shields.io/npm/l/gpt4all-cli.svg)](https://github.com/jellydn/gpt4all-cli/blob/master/package.json)![Prerequisite](https://img.shields.io/badge/node-%3E%3D16.0.0-blue.svg)
[![Twitter: jellydn](https://img.shields.io/twitter/follow/jellydn.svg?style=social)](https://twitter.com/jellydn)


A CLI tool built on top of gpt4all-ts

[![IT Man - Tech #35 - Unlock the Power of AI: GPT4All #GPT-3.5-Turbo & #LLaMa [Vietnamese]](https://i.ytimg.com/vi/EkpqKFewV2g/hqdefault.jpg)](https://www.youtube.com/watch?v=EkpqKFewV2g)

## Intro

GPT4All-CLI is a robust command-line interface tool designed to harness the remarkable capabilities of GPT4All within the TypeScript ecosystem. It is constructed atop the [GPT4All-TS](https://github.com/nomic-ai/gpt4all-ts) library.

The GPT4All-TS library is a TypeScript adaptation of the GPT4All project, which provides code, data, and demonstrations based on the LLaMa large language model with approximately 800k GPT-3.5-Turbo Generations 😲. Inspired by the [GPT4All](https://github.com/nomic-ai/gpt4all) project, GPT4All-TS strives to extend its functionalities and make them accessible to TypeScript and JavaScript developers.

By utilizing GPT4All-CLI, developers can effortlessly tap into the power of GPT4All and LLaMa without delving into the library's intricacies. Simply install the CLI tool, and you're prepared to explore the fascinating world of large language models directly from your command line!

## Usage

```sh
npx gpt4all-cli@latest
```
### Display help for command

```sh
❯ npx gpt4all-cli@latest -h
Usage: gpt4all [options]

GPT4all CLI

Options:
-V, --version output the version number
-m, --model Choose a model (default: gpt4all-lora-quantized) (default: "")
-r, --reset Reset the model by deleting the ~/.nomic folder (default: false)
-h, --help Display help for command
```

![https://gyazo.com/15617a4d46884092c0286ec6c0d014d9.gif](https://gyazo.com/15617a4d46884092c0286ec6c0d014d9.gif)
![https://gyazo.com/3308c5da3ed189cc53f875cc5747d6be.gif](https://gyazo.com/3308c5da3ed189cc53f875cc5747d6be.gif)

## Learning Resources

- [Using langchain To Run Queries Against GPT4All in the Context of a Single Documentary Knowledge Source – OUseful.Info, the blog…](https://blog.ouseful.info/2023/04/04/langchain-query-gpt4all-against-knowledge-source/)
- [Running GPT4All On a Mac Using Python langchain in a Jupyter Notebook – OUseful.Info, the blog…](https://blog.ouseful.info/2023/04/04/running-gpt4all-on-a-mac-using-python-langchain-in-a-jupyter-notebook/)

## Author

👤 **Dung Huynh**

- Website: https://productsway.com/
- Twitter: [@jellydn](https://twitter.com/jellydn)
- Github: [@jellydn](https://github.com/jellydn)

## Show your support

[![kofi](https://img.shields.io/badge/Ko--fi-F16061?style=for-the-badge&logo=ko-fi&logoColor=white)](https://ko-fi.com/dunghd)
[![paypal](https://img.shields.io/badge/PayPal-00457C?style=for-the-badge&logo=paypal&logoColor=white)](https://paypal.me/dunghd)
[![buymeacoffee](https://img.shields.io/badge/Buy_Me_A_Coffee-FFDD00?style=for-the-badge&logo=buy-me-a-coffee&logoColor=black)](https://www.buymeacoffee.com/dunghd)

Give a ⭐️ if this project helped you!