Replies: 1 comment
-
Can someone delete this. It was because I was asking the model to output a proof of concept to test the vulnerability. As soon as I removed that from the data table on the structured output, it started to return results. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am attempting to write a flow that reviews a json response object and outputs a list of vulnerability findings from the owasp top 10. I have to admit, using structured data is very frustrating as I have a basic example of it working with general data like "Tell me about Canada" and then the table populates data about Canada. When it comes to more complex things like reviewing json and pulling data out, it just is not working AT ALL for me. I don't understand what I could be doing wrong or if this is an issue where the model is refusing to do what I'm asking it because its in the realm of security. Any help would be greatly appreciated. I have written my own custom nodes to pull the response object as json and pass it along the flow as a data object.
The error I get from the structured data node is:
Error building Component Structured Output: Error running method "build_structured_output": Output should be a Pydantic BaseModel, got <class 'NoneType'> (None)
What my flow looks like:
Beta Was this translation helpful? Give feedback.
All reactions