Skip to content

Commit b206bab

Browse files
committed
update readme $thread_id
1 parent 9bcad6b commit b206bab

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@ client.track_llm(
3939
prompt="What is the capital of France?",
4040
assistant_id="gpt-4",
4141
generation="The capital of France is Paris.",
42-
properties={"model": "gpt-4"},
42+
properties={
43+
"$thread_id": "your-thread-id", # special trubrics property to group an interaction by conversation thread
44+
"model": "gpt-4"
45+
},
4346
latency=1.5 # seconds
4447
)
4548
```

0 commit comments

Comments
 (0)