I have a plugin for ticket search. It collects a search description and uses a LLM to collect/format optional attributes that are used in the search api. I am paginating the api up to 5 times in a compound action and don’t want to enable more than that. This works with simple search queries in that Structured Data Analysis can format the results as requested. However if I ask for a medium to large data set (over 500 tickets), it seems to go into a infinite loop showing 8-20 messages to the user saying it is searching for the data until it finally seems to time out and break without showing any data. I don’t want the plugin to loop especially as it doesn’t seem to work. I tried asking Agent Architect, but its suggestions didn’t help. How do I solve this problem?
Handle ticket search with Structured Data Analysis
Best answer by Kevin Mok
I see, I completely understand. Since you're trying to leverage SDA, we should definitely try to prompt the assistant a little better so it understands how to handle the data. The way it's currently set up, where you don't have a prompt or anything, it can make the behavior erratically.
If could take a look at the Steering SDA with instructions section in our docs, it should help a lot. I now you want to keep it open, but it is still helpful to keep in mind the best practices for the best results
Adding the top level key display_instructions_for_model in the return statement in the compound action would help and also adding better names and descriptions to your plugin
Sign up
Already have an account? Login
If you're a Moveworks customer, you can click the SSO button below to login-even if it's your first time. Everyone else can use email or click create an account above to register.
LOGIN WITH MYMOVEWORKS SSO PARTNERS WITH SSO LOGINLogin or create an account
If you're a Moveworks customer, you can click the SSO button below to login-even if it's your first time. Everyone else can use email or click create an account above to register.
LOGIN WITH MYMOVEWORKS SSO PARTNERS WITH SSO LOGINEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.

