0.8.8 • Published 5 months ago

lunary v0.8.8

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
5 months ago

📈 JavaScript monitoring for AI apps and agent

website - docs - demo - npm version


Use it with any LLM model and custom agents (not limited to OpenAI).

This is a typed JS library compatible with Node.js, Deno, Vercel Edge functions and Cloudflare Workers.

It is compatible with Langchain JS, AutoGPT and other libraries.

To get started, get a project ID by registering here.

🛠️ Installation

npm install lunary

🚀 Basic Usage with OpenAI

import { monitorOpenAI } from "lunary/openai"

// This extends the openai object with the monitor
const openai = monitorOpenAI(new OpenAI())

// Use OpenAI as usual
const result = await openai.chat.completions.create({
  messages: [
    {
      role: "user",
      content: "Hello!",
    },
  ],
})

console.log(result.choices[0])

📖 Documentation

Full docs are available here.

0.8.8

5 months ago

0.8.5

5 months ago

0.8.4

6 months ago

0.8.7

5 months ago

0.8.6

5 months ago

0.7.15

7 months ago

0.7.14

7 months ago

0.8.1

7 months ago

0.8.0

7 months ago

0.8.3

7 months ago

0.8.2

7 months ago

0.7.11

9 months ago

0.7.13

8 months ago

0.7.12

9 months ago

0.7.10

12 months ago

0.7.9

1 year ago

0.7.8

1 year ago

0.7.7

1 year ago

0.7.6

1 year ago

0.7.5

1 year ago

0.7.4

1 year ago

0.7.3

1 year ago

0.7.2

1 year ago

0.7.1

1 year ago

0.7.0

1 year ago

0.6.16

1 year ago

0.6.15

1 year ago

0.6.12

1 year ago

0.6.13

1 year ago

0.6.10

1 year ago

0.6.11

1 year ago

0.6.9

1 year ago

0.6.8

1 year ago

0.6.7

2 years ago

0.6.6

2 years ago

0.6.5

2 years ago

0.6.4

2 years ago

0.6.3

2 years ago

0.6.2

2 years ago