Logging LLM Inferences
Log via TypeScript SDK
1
Install TypeScript SDK
2
Set Athina API Key
3
Log your inference
inference.ts
Tip: Include your logging code in a try/catch block to ensure that your application doesn’t crash if the logging request fails.
Logging Attributes
You can find the full list of logging attributes here.