phidata
phidata copied to clipboard
What is a run_id and user_id
I have seen some instances where Assistant is given run_id and user_id.
What are these and what are they used for? I have searched the docs and could not find an explanation
Hey @aurthurm!
run_id
and user_id
are utilized for logging each assistant run on phidata.app. We are currently operating with a waitlist, but we will be opening up soon!"
@aurthurm the run_id
and user_id
are stored in your database table when you create storage for the assistant, so you can retrieve runs later by run_id
or user_id
.
I'll make sure to add a full page in the docs walking through them in detail
So in this case a run is like a conversation thread that can be created with an assistant.
From this we can say that:
- multiple users can use the same assistant with each user having their own
user_id
- A user can initiate a conversation thread identified by a
run_id
- As such we can retrieve various conversations done by a certain user.
Am i correct @ashpreetbedi
@aurthurm you got it exactly right!