mirror of https://github.com/hwchase17/langchain
Fix IndexError when input_list is Empty in prep_prompts (#5769)
This MR corrects the IndexError arising in prep_prompts method when no documents are returned from a similarity search. Fixes #1733 Co-authored-by: Sam Groenjes <sam.groenjes@darkwolfsolutions.com> Co-authored-by: Bagatur <baskaryan@gmail.com>pull/9104/head
parent
c0acbdca1b
commit
2184e3a400
Loading…
Reference in New Issue