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

[Question]: Pass variables to API and use them in the Agent workflow #3616

Open
alexff77 opened this issue Nov 24, 2024 · 4 comments
Open

[Question]: Pass variables to API and use them in the Agent workflow #3616

alexff77 opened this issue Nov 24, 2024 · 4 comments
Labels
question Further information is requested

Comments

@alexff77
Copy link

Describe your problem

Hi,
few questions around customizing Assistants and Agents.

  • I'd like to be able to change the flow in Agent based on some variables sent from the app, like user role for example or model temperature. Is there a way to do this? Otherwise I'll have to create new Agent for each type of user.
  • Also is there a way to duplicate Assistants and Agents?
  • For Assistant I can change settings and create a new assistant but I can't read existing assistant settings?

I can add these variables to the prompt and then have a selection based on LLM but that could be unreliable.

Thank you!
Alex

@alexff77 alexff77 added the question Further information is requested label Nov 24, 2024
@KevinHuSh
Copy link
Collaborator

For the number one requirement, we will make it feasible through API invocation. You just need to define some variables in the 'Begin' component.

@alexff77
Copy link
Author

Great! Looks like it's in 0.14 already.
Thank you.

@suice07
Copy link

suice07 commented Nov 27, 2024

found that although there is 'team' , but it seems only the database can be shared. is it possible to share the agents settings via web settings or dump the settings to some format so that the existing agent can be load and reuse

@alexff77
Copy link
Author

alexff77 commented Dec 5, 2024

I see that input parameter is now available on Agent Start item.
Can it be used via API?
Thank you!

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

No branches or pull requests

3 participants