Skip to content

hegelai/hegeljs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hegeljs

Welcome to HegelJS! The official TypeScript and JavaScript client for Hegel AI's developer platform.

Hegel AI enables developers to build, monitor, and improve their LLM applications. It tracks every request, provides and editor for prompts, and automatically generates improvements based on real-time feedback and evaluations. You can sign up here.

image

Adding HegelJS to an existing Node.js app

Just install the package with npm i @hegel-ai/hegeljs and make the following change to your OpenAI client initialization:

image

Before starting your app, you'll need to have your HEGELAI_API_KEY set. You can do this by running export HEGELAI_API_KEY=<YOUR_API_KEY>. You'll need your OPENAI_API_KEY set as well, which you can set similarly.

If you need a Hegel AI API key, you can sign up here.