-
Hello, I'm playing with the library and found the error message I thought I could in someway run any arbitrary code inside an action (currently we don't have to call a llm inside each action), but if I call a LLM we may hit this constraint. Maybe we would like to call several times the llm inside a single action (context.parallelMap method seems to suggest we can do that), each returning different types, I would like to know if this check is really necessary or if it could permit such a construction ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It is possible to make several LLM calls in the one action. Get a You can use that with |
Beta Was this translation helpful? Give feedback.
It is possible to make several LLM calls in the one action. Get a
PromptRunner
instance from theOperationContext
to do this.You can use that with
parallelMap
or independently.