0.7.8 • Published 13 days ago
lunary v0.7.8
📈 JavaScript monitoring for AI apps and agent
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.7.8
13 days ago
0.7.7
1 month ago
0.7.6
2 months ago
0.7.5
2 months ago
0.7.4
3 months ago
0.7.3
3 months ago
0.7.2
3 months ago
0.7.1
3 months ago
0.7.0
3 months ago
0.6.16
4 months ago
0.6.15
4 months ago
0.6.12
4 months ago
0.6.13
4 months ago
0.6.10
5 months ago
0.6.11
5 months ago
0.6.9
5 months ago
0.6.8
5 months ago
0.6.7
5 months ago
0.6.6
5 months ago
0.6.5
5 months ago
0.6.4
5 months ago
0.6.3
5 months ago
0.6.2
5 months ago