import asyncio
import zen
def loader(key):
with open("./data/" + key, "r") as f:
return f.read()
async def main():
engine = zen.ZenEngine({"loader": loader})
response = await engine.async_evaluate("function.json", {"input": 5})
print(response)
asyncio.run(main())
Install the ZEN Engine
Start by installing the PIP package in your Python project.
Create a decision
Create a decision using business rules engine platform by following the guide.
Evaluate Business Rules
Integrate the in your codebase using library to receive decisions based on parameters.
Hybrid Intelligence Systems
By combining Python's powerful AI libraries with GoRules, developers can create hybrid intelligence systems that leverage both machine learning and rule-based decision-making, offering a more robust and flexible approach to complex problem-solving.
Dynamic Rule Adjustment in Machine Learning
Python-based machine learning systems, GoRules can be used to dynamically adjust model parameters or decision thresholds based on business rules, allowing for more adaptive and context-sensitive ML models.