Skip to main content

Go Manual Logger

Logging calls to custom models is supported via the Helicone Python SDK.
1

Install the Helicone helpers package

2

Set `HELICONE_API_KEY` as an environment variable

You can also set the Helicone API Key in your code (See below)
3

Create a new HeliconeManualLogger instance

4

Define your operation and make the request

API Reference

ManualLogger

LogOptions

LogRequest

Parameters

  1. request: A HeliconeLogRequest (interface) containing the request parameters
  2. operation: A function that takes a ResultRecorder and returns a result
  3. additionalHeaders: A map of string keys to string values

ResultRecorder