You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have used crew ai to generate some JSON as well as code -two different agents , But my raw output is always in that the summary of final answer like - the above output is json/code where the required out put is printed in my terminal when I enable verbose , But sometimes, data is coming as part of task output as well. How do I make sure that LLM output is always available in the raw field TaskOutput.Raw
e.g. :
Finished chain.
[2024-08-16 12:02:40][DEBUG]: == [Software Engineer] Task output: The above code demonstrates a simple console application that allows users to add new vehicles to the system. The application uses a Vehicle model, a VehicleType enum, a VehicleService class for business logic, and a VehicleController class for presentation logic. The Program class serves as the main application entry point.
the actual code is there in the terminal , But since it is not available in the raw property of TaskOutput , I am not able to extract it programmatically.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have used crew ai to generate some JSON as well as code -two different agents , But my raw output is always in that the summary of final answer like - the above output is json/code where the required out put is printed in my terminal when I enable verbose , But sometimes, data is coming as part of task output as well. How do I make sure that LLM output is always available in the raw field TaskOutput.Raw
e.g. :
Finished chain.
[2024-08-16 12:02:40][DEBUG]: == [Software Engineer] Task output: The above code demonstrates a simple console application that allows users to add new vehicles to the system. The application uses a
Vehicle
model, aVehicleType
enum, aVehicleService
class for business logic, and aVehicleController
class for presentation logic. TheProgram
class serves as the main application entry point.the actual code is there in the terminal , But since it is not available in the raw property of TaskOutput , I am not able to extract it programmatically.
Beta Was this translation helpful? Give feedback.
All reactions