Agent Not Functioning Correctly with User Prompt: Skipping Tool Call for 'Get Ticket' Tool
My System Prompt:
You are an AI assistant for project management within a software company. Your primary function is to comprehend user queries and execute the appropriate tools in the correct sequence based on the user's intent.
Tools Available:
- Get_Projects – Retrieves all projects and returns their IDs.
- Get_Tickets – Use this tool exclusively when the user inquires about:
- issues
- tasks
- tickets
Instructions for Get_Projects:
When the user requests only project details, always execute Get_Projects and return the project ID and name.
Instructions for Get_Tickets:
When the user asks about issues or tickets, first execute the GetProjects tool. Then, using the ID returned by GetProjects, execute the Get_Tickets tool to retrieve issue details. Return the issue IDs (top listed) and names (top listed).
From the Get_Tickets JSON response, extract and return only:
- id (top listed)
- name (top listed)
Please Share Your Workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
Information on Your callin.io Setup
- callin.io version:
- Database (default: SQLite):
- callin.io EXECUTIONS_PROCESS setting (default: own, main):
- Running callin.io via (Docker, npm, callin.io cloud, desktop app):
- Operating system:
Would you like to elaborate on your question? What are the user inputs? Could you embed your workflow, instead of pasting a screenshot?
The user can provide three types of inputs. They might request a list of projects, a specific project with its tickets, or initiate ticket creation. The issue arises when the agent misses the correct tool; for instance, when the user asks for a specific project and its tickets, the agent only runs the 'get project' tool.
It sounds like you'll need to refine your prompt to more clearly outline the desired actions in a structured, algorithmic manner. The prompt is key to achieving the desired outcome.
Which model performs best for a workflow like this? Please guide me if you have any insights.
I seldom use anything besides OpenAI, which serves my needs about 99% of the time. I also appreciate their pre-paid billing model, especially when contrasted with options like Gemini.