Skip to main content
Helicone OSS LLM Observability

Manual Logger - Go

Integrate any custom LLM with Helicone using the Go Manual Logger. Step-by-step guide for Go implementation to connect your proprietary or open-source models.
1 min read

Go Manual Logger#

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

Install the Helicone helpers package

Set `HELICONE_API_KEY` as an environment variable

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

Create a new HeliconeManualLogger instance

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#