Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is a run_id and user_id #212

Open
aurthurm opened this issue May 2, 2024 · 3 comments
Open

What is a run_id and user_id #212

aurthurm opened this issue May 2, 2024 · 3 comments

Comments

@aurthurm
Copy link

aurthurm commented May 2, 2024

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

@ysolanky
Copy link
Contributor

ysolanky commented May 2, 2024

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!"

@ashpreetbedi
Copy link
Contributor

@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

@aurthurm
Copy link
Author

aurthurm commented May 7, 2024

So in this case a run is like a conversation thread that can be created with an assistant.

From this we can say that:

  1. multiple users can use the same assistant with each user having their own user_id
  2. A user can initiate a conversation thread identified by a run_id
  3. As such we can retrieve various conversations done by a certain user.

Am i correct @ashpreetbedi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants