Utilizing Genie AI with Workflows

stexil
New Contributor

As subject says, is this possible via creating a python script that calls agent.predict etc...? Similar to this

agent.predict( { "messages": [{"role": "user", "content": "...the question we want to ask Genie..."}], } )

I want to implement Genie AI, and its results to through a workflow pipeline.