jorel-starter
v1.0.7
Published
Quickly get started with using JorEl
Maintainers
Readme
JorEl Starter
This is a quickstart repository for JorEl, a powerful TypeScript library that provides a unified interface for working with multiple Large Language Models (LLMs). It simplifies complex LLM interactions like tool calling, image processing, and agent workflows while maintaining full flexibility.
The full documentation is available at https://christianheine.github.io/jorel/.
How to get started
Clone the repository
- Clone this repository
- Run
npm installoryarn install - Rename the .env.example file to .env and add your API keys
- Start editing the
src/index.tsfile - Run
npm startoryarn startto run it
Degit
You can also use degit to quickly get started.
npx degit christianheine/jorel-starter my-jorel-project
cd my-jorel-project
npm installWhat is included in the starter?
- TypeScript configuration: Pre-configured TypeScript setup, including ts-node for running TypeScript files directly
- ESLint and Prettier: Linting and formatting setup for consistent code style
- dotenv: Load environment variables from a .env file
- zod: Type-safe schema validation for LLM tool-use
- .env.example: Example .env file with placeholders for API keys
- .gitignore: Pre-configured .gitignore file
- Example code: A simple example that uses JorEl to generate a response for a text prompt
License
MIT
