mirror of https://github.com/hwchase17/langchain
Fix Lark import error (#4421)
Any import that touches langchain.retrievers currently requires Lark. Here's one attempt to fix. Not very pretty, very open to other ideas. Alternatives I thought of are 1) make Lark requirement, 2) put everything in parser.py in the try/except. Neither sounds much better Related to #4316, #4275pull/4445/head
parent
f0cfed636f
commit
f6c97e6af4
Loading…
Reference in New Issue