AI-powered debugging assistance using your codebase knowledge graph
The Debugging with Knowledge Graph Agent is designed to analyze stacktraces and errors, relating them to your specific codebase. This agent provides debugging directions, adds print debugging statements, and helps you iteratively find the root cause of issues.
To use the Debugging Agent, provide error messages, stacktraces, or describe the issue you’re facing. You can also reference specific functions or files using the @ symbol. Here are some example prompts:
“I’m getting a 401 unauthorized error from @update_document API, help me debug”
“Why am I getting this error? Stacktrace: [paste your stacktrace here]”
“Help me fix the TypeError in this line query.lower().split() of @query_vector_store”
Provide as much context as possible, including error messages and stacktraces
Use the @ symbol to reference specific functions or files in your codebase
Follow the agent’s suggestions step by step, providing feedback on the results
By leveraging the Debugging with Knowledge Graph Agent, you can streamline your debugging process and quickly identify and resolve issues in your codebase.