Open acomagu opened 1 year ago
Hi! There is no official way yet. I've added it to the roadmap.
The workaround today is to put in the description "a list of all ingredients separated by a comma" and then just split the string by comma.
const ingredients = "chicken, salt, water";
const list_of_ingredients = ingredients.split(",");
Feature Request
Is your feature request related to a problem? Please describe.
I couldn't find a way to extract multiple items by LLMParser. My usecase is that I want to extract ingredients list from HTML of recipe site.
I defined the fields as follows but only one ingredient name could be obtained.
Describe the solution you'd like
Describe alternatives you've considered
Are you willing to resolve this issue by submitting a Pull Request?