Output as Python? #182
Replies: 2 comments 6 replies
-
relevant question. I've asked this in the webinar earlier this week, and assumed there would be some kind of option? |
Beta Was this translation helpful? Give feedback.
-
There are some things that would make it a bit wonky. Specifically, the PythonFunction node allows you to add import statements in the code, and having it in the middle of the script would be kind of weird. The webinar the other day got me thinking and prototyping some of this but we got some things that are higher priority atm. Would inspecting the graph object be close to your use case? We are adding a parameter in the |
Beta Was this translation helpful? Give feedback.
-
I was wondering if it was possible to parse the output as python script, as if it were written for langchain 'natively' in python?
I ask because I want to play around using some compression techniques for prompting, and maybe some other stuff, and at the moment I don't think this is possible?
Beta Was this translation helpful? Give feedback.
All reactions