Ironclad / rivet

The open-source visual AI programming environment and TypeScript library
https://rivet.ironcladapp.com
MIT License
2.78k stars 243 forks source link

[Feature]: Documentation on running graphs created in Rivet using Python #169

Open sjdemartini opened 1 year ago

sjdemartini commented 1 year ago

Feature Request

Super neat project, thanks for open-sourcing! In the Show HN Hacker News post here, it says:

Finally, Rivet is built to be embedded into a larger application (TypeScript for now, but we've also found a way to run it in Python).

I couldn't find any documentation on how to run a Rivet graph via Python (though I did find the example project for executing Python code via Rivet https://github.com/abrenneke/rivet-plugin-example-python-exec). Would it be possible to share how you're running these graphs with Python instead of TypeScript?

Also, I expect it may not be likely, but are there any plans for first-class Python support in the future?

Code of Conduct

abrenneke commented 1 year ago

The WIP code is here, it's still far from complete though https://github.com/Ironclad/rivet/pull/65. Would definitely appreciate any help from people more fluent in Python than I am to get it finished up.