langflow icon indicating copy to clipboard operation
langflow copied to clipboard

Few Shot Prompt Template causes "Error: Invalid examples format. Only list or string are supported."

Open miguelemosreverte opened this issue 2 years ago • 1 comments

Hello!

It would seem that FewShotPromptTemplate expects a dict list which if not placed, will throw this error Screenshot 2023-03-28 at 00 54 21

How exactly to place a dict list inside a FewShotPromptTemplate? I have not seen a way to instance a dict list inside the UI

miguelemosreverte avatar Mar 27 '23 22:03 miguelemosreverte

I will check this, but I don't think we are handling this case in this version.

ibiscp avatar Mar 28 '23 20:03 ibiscp

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar May 16 '23 20:05 stale[bot]