Jan Philipp Harries
Jan Philipp Harries
I can confirm this bug (RecursionError is not thrown and can't be catched but kernel restarts directly in ipython/jupyter) ipython 7.18.1 on current Windows 10
+1. The decorated func should probably be wrapped in some import/exception clause like for other optional libraries - thanks @tasansal for pointing out the source.
Works for me. Did you maybe install 0.0.149 in a different environment? ```python import langchain langchain.__version__ ``` ?
I am not really sure what the goal is? `RetrievalQAWithSourcesChain` is a specialized chain that doesn't really work well in a conversational setting standalone. Imho the right approach is to...
@AliasSCM can you show a concrete example? The default prompt includes a few shot example without sources but the model should only output no sources if there is now answer...
@AliasSCM interesting, I also experienced some problems with a QA chain and answers in a table format. Can you try with a custom few shot prompt including a "table question"...
fixed the formatting...
Reverted the Sync changes and just added async without the use of `apply` as sugested. New PR here: #3780 .
Well, how are the messages in your DB ordered? The way you insert the chat history, it could be possible that you inject history in reverse order? Did you look...
@VladoPortos can you specify? For me it works without any problems; there are 2 prompts ("prompt" for the FewShot prompt, "document_prompt" for the inserted documents. E.g. one example I use...