mirror of
https://github.com/hoshikawa2/nemo_guardrails_configuration.git
synced 2026-07-09 17:04:20 +00:00
14 lines
314 B
Python
14 lines
314 B
Python
|
|
from company_nemo_guardrails import create_rails
|
|
|
|
def main():
|
|
rails = create_rails()
|
|
response = rails.generate(
|
|
messages=[{"role": "user", "content": "Meu CPF é 123.456.789-00"}],
|
|
options={"log": {"activated_rails": True}}
|
|
)
|
|
print(response)
|
|
|
|
if __name__ == "__main__":
|
|
main()
|