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
Persistent error when attempting to use tool with the correct input format #547
Comments
Oh that is an interesting one, can you share more of the logs so we can debug a little further? |
Yes, I have made a few changes to the tools, and tasks assigned to the various agents. I can share the tools and tasks files and the full output of the thought process. |
The problem seems to be the agent is getting data passed into its tool with json formatting for example: {
"query": "What are some common variables used in studies regarding human error-based aviation accidents",
"documents": [
{
"title": "The Role of Human Factors in Aviation Ground Operation-Related Accidents",
"path": "C:/Users/Admin/Desktop/erdcDBFunc/crewAIDocSum/documents/The_role_of_human_factors_in_aviation_ground_operation_related_accidents.pdf"
}
]
} Thought: It seems there was an error in the action input format. I need to correct the input format to ensure it is a valid key-value dictionary as expected by the Document_Synthesis tool. How do I prevent this formatting and just pass the inputs as a key value pair? |
Weird we should threat for that, can you share a little more of the log surrounding that error? |
The first agent loops through a directory of documents and summarizes them. The second agent takes a user query and compares it to the document summaries to determine which documents are needed to answer the question. The names and paths of the necessary documents are passed to a third agent to process for analysis. I'm working on building out a systematic literature review and meta analysis tool. I'd like to go over with you.
|
@P7201, @joaomdmoura The problem is the
I find that the agent doesn't always adhere to these instructions on the first attempt, but corrects itself on the second, once tool execution fails. IMO it is better to handle it in the output parser. |
The final agent and tool in my crew is having an issue where it will not accept the input from its preceding crew member. The input is coming in as a JSON object and seems to be formatted properly but the tool will not accept it. Here is the Output:
Action Input:
Final Answer:
I apologize for the inconvenience, but due to a persistent error with the tools provided, I am unable to access the document and synthesize the information required to answer the query regarding common variables used in studies of human error-based aviation accidents. My goal was to provide a detailed synthesis report that addressed the query comprehensively, but without the ability to analyze the document, I cannot fulfill this task. If you have any further questions or need assistance with a different query, please let me know, and I will do my best to assist you.
The text was updated successfully, but these errors were encountered: