Skip to content

Valhall-ai/llm-genie

Repository files navigation

LLM Genie

LLM Genie is an (ultra light-weight) JavaScript library for developers that simplies advanced usage of Large Language Model APIs such as GPT from OpenAI. It's compatible with browser and Node.js JavaScript runtime environments.

Installation

npm install llm-genie

or

yarn add llm-genie

Setup Development Environment

Requirements

  • Node.js (>=18)

Steps

  1. Clone the repository.
git clone https://github.com/jt0dd/llm-genie.git
cd repo
  1. Install the dependencies.
npm install
  1. Make any desired improvements.

  2. Generate documentation and unit tests.

Build (apply changes) & Generate Documentation

  • JSDocs: npm run build-quick

Testing

Run tests with Mocha:

npm run test

Contributing

Please feel free to open an issue or submit a pull request for any bug fixes, features, or documentation improvements.

License

LLM Genie is released under the <> License.