curl --request POST \
--url https://backend.nebuly.com/event-ingestion/api/v2/events/trace_conversation \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"conversation": {
"interactions": [
{
"input": "<string>",
"output": "<string>",
"time_start": "<string>",
"time_end": "<string>",
"tags": {},
"feedback_actions": [
{}
],
"trace": [
{
"model": "<string>",
"messages": [
{}
],
"output": "<string>",
"input_tokens": 123,
"output_tokens": 123,
"source": "<string>",
"input": "<string>",
"outputs": [
"<string>"
]
}
]
}
],
"end_user": "<string>"
}
}'
curl --request POST \
--url https://backend.nebuly.com/event-ingestion/api/v2/events/trace_conversation \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"conversation": {
"interactions": [
{
"input": "<string>",
"output": "<string>",
"time_start": "<string>",
"time_end": "<string>",
"tags": {},
"feedback_actions": [
{}
],
"trace": [
{
"model": "<string>",
"messages": [
{}
],
"output": "<string>",
"input_tokens": 123,
"output_tokens": 123,
"source": "<string>",
"input": "<string>",
"outputs": [
"<string>"
]
}
]
}
],
"end_user": "<string>"
}
}'
Show conversation properties
Show properties
ISO 8601
.Example: 2023-12-07T15:00:00.000Z
ISO 8601
.Example: 2023-12-07T15:00:00.000Z
{"version" => "v1.0.0"}
. You have the flexibility to define custom tags, making them available as potential filters on the Nebuly platform.slug
: (string) – the type of action. Accepted values include:
thumbs_up
thumbs_down
copy_input
copy_output
paste
comment
regenerate
edit
rating
text
: (string, optional) – textual feedback associated with the action (if applicable).value
: (number, optional) – only used for the rating
action to capture a numerical score."feedback_actions": [
{
"slug": "thumbs_up",
"text": "Very helpful response!"
},
{
"slug": "comment",
"text": "Can you explain more about this?"
},
{
"slug": "rating",
"value": 4,
"text": "Pretty good!"
},
{
"slug": "regenerate"
}
]
Show properties
role
: the role of who is sending the message. Possible values are: system, user, assistant, tool.content
: the content of the message."messages": [
{
"role": "system",
"content: "This is a system prompt"
},
{
"role": "user",
"content": "user input 1"
},
{
"role": "assistant",
"content": "assistant response 1"
},
{
"role": "user",
"content": "user input"
}
]