Replies: 5 comments
-
@eloycoto Thank you so much for pointing this out. There is support for this in the interpreter but the AST is written in such a way that it disallows it. I will fix this shortly. |
Beta Was this translation helpful? Give feedback.
-
I can confirm that this change do the job
|
Beta Was this translation helpful? Give feedback.
-
great to see this update. any chance you might push a new release (0.1.1) before the end of the year? |
Beta Was this translation helpful? Give feedback.
-
@creatorsagi yes absolutely |
Beta Was this translation helpful? Give feedback.
-
@eloycoto The change is now in main (PR #221). We will make a release shortly @creatorsagi |
Beta Was this translation helpful? Give feedback.
-
When the LLM reply with multiple tools, the arguments can be different. In pdl, the
args
is a object that can be like this:The problem is when the arguments for the function need to be parsed/object from another output, that it's not possible to send the result object to the
callBlock.args
parameter, as example:I can create a function like this:
But that has a problem, all arguments are a single string, and it's prone to errors, and hard to reuse it.
Is there any way to pass the resulting object to the functionBlock.args? I do not think so
@vazirim @mandel If you can have a look, it'll be great :)
Beta Was this translation helpful? Give feedback.
All reactions