1.3.13 • Published 2 months ago

phospho v1.3.13

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

Phospho - LLM App Analytics Platform

Introduction

Phospho is a powerful and easy-to-use analytics platform for large language model (LLM) applications. It provides developers with the tools to log, analyze, and understand the interactions between users and their LLM applications.

Installation

To use Phospho in your Node.js project, install it via npm:

npm install phospho

Usage

You need to have a Phospho account to use this library. If you don't have one, you can sign up for free at phospho.ai.

Quickstart

import { phospho } from "phospho";

phospho.init({
  apiKey: "...", // Get your API key on phospho.ai
  projectId: "...",
});

// Log a task
phospho
  .log({ input: "User Query", output: "LLM Response" })
  .then((response) => console.log("Log successful:", response))
  .catch((error) => console.error("Error:", error));

You only need to do phospho.init() once in your app, then you can reuse it accross you whole codebase.

More Information

For more information, please visit the documentation at docs.phospho.ai

1.3.13

2 months ago

1.3.10

3 months ago

1.3.11

2 months ago

1.3.12

2 months ago

1.3.9

4 months ago

1.3.7

4 months ago

1.3.6

6 months ago

1.3.5

6 months ago

1.3.4

6 months ago

1.3.3

7 months ago

1.3.2

7 months ago

1.3.1

7 months ago

1.3.0

7 months ago

1.3.8

4 months ago

1.2.5

9 months ago

1.2.4

9 months ago

1.2.3

10 months ago

1.2.0

10 months ago

1.2.2

10 months ago

1.2.1

10 months ago

1.1.1

11 months ago

1.1.0

11 months ago

1.1.3

11 months ago

1.1.2

11 months ago

1.0.0

11 months ago

0.0.9

11 months ago

0.0.8

11 months ago

0.0.7

11 months ago

0.0.3

12 months ago

0.0.5

12 months ago

0.0.4

12 months ago

0.0.6

12 months ago

0.0.2

1 year ago

0.0.1

1 year ago