Endpoints
Log
Log a (LLM) response to visualize inference results, or chains.
POST
/
api
/
parea
/
v1
/
trace_log
Body
trace_id
string
Unique identifier for a set of logs to be associated as a chain.
trace_name
string
Name to identify a trace. Will be visible in logs for filtering.
end_user_identifier
string
Unique identifier for a end-user. Will be visible in logs for filtering.
evaluation_metric_ids
list
A list of evaluation metric ids to associate with this completion.
metadata
dict
Any additional metadata to record.
target
string
The target or “gold standard” completion response.
tags
list
List of string tags to associate with this completion.
inputs
dict
Key value pairs for prompt template. The keys should match the names of the deployed prompt template’s variables.
Was this page helpful?