Go Manual Logger
Logging calls to custom models is supported via the Planck Go SDK.1
Install the Planck helpers package
2
Set `PLANCK_API_KEY` as an environment variable
You can also set the Planck API Key in your code (See below)
3
Create a new PlanckManualLogger instance
4
Define your operation and make the request
API Reference
ManualLogger
LogOptions
LogRequest
Parameters
request: A PlanckLogRequest (interface) containing the request parametersoperation: A function that takes a ResultRecorder and returns a resultadditionalHeaders: A map of string keys to string values