Replies: 4 comments 3 replies
-
Not only it's difficult to read, it is also hard to debug. |
Beta Was this translation helpful? Give feedback.
-
Any ideas on what could help in improving readability or ability to debug? if you (or other community members) have good examples of complex lcel chains that you're willing to share, please post in this discussion. It'll be helpful to see them to understand what improvements we can make. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the feedback! What do you thinking of the following options:
|
Beta Was this translation helpful? Give feedback.
-
For me it's quite difficult to debug too. In particular, I would like to double check that the input prompt is correct but I don't know how to do this. I also couldn't find the way to access the prompt template from the RunnableSequence |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
It's almost been two months now. I thought I would get used to it, but I haven't. LCEL is difficult to read. I understand that it is declarative and composable and async native and objectively better. My subjective experience is that every time I see it I have a really hard time understanding what is going on.
It seems simple and elegant up to a point, and then, in real world situations the code looks like a shotgun spat some spaghetti on the wall.
Beta Was this translation helpful? Give feedback.
All reactions