Philippe PRADOS

Results 39 comments of Philippe PRADOS

@conda-forge-daemon I receive an error in staged-recipes : No module named pip. I have ``` requirements: build: - python {{ PYTHON_VERSION }} - pip - setuptools - setuptools_scm ``` How...

> This returns citations: > > ``` > from langchain.chains import RetrievalQAWithSourcesChain > qa_chain = RetrievalQAWithSourcesChain.from_chain_type(llm,retriever=vectorstore.as_retriever()) > result = qa_chain({"question": question}) > ``` > > This returns source documents: >...

Dear @rlancemartin, I have made several changes to the code for this new release. Before explaining the changes, let me provide some context. With `RetrievalQAWithSourcesChain` or `RetrievalQA`, it was not...

Note that another difference with qa_with_source is the consumption of tokens. When you add a URL for each document or aggregate a list of URLs, especially if you have many...

Hello @rlancemartin, I have a "1 change requested", but i can not change something. Is the process blocked?

Question 1: What is the precise problem with RetrievalQAWithSourcesChain? - The challenge lies in returning the precise source documents employed for generating answers in RAG. - RetrievalQAWithSourcesChain solely provides URLs...

@rlancemartin It's done. Now the code is in langchain_experimental for the moment. I hope it can migrate to the standard branch later. Then it will be possible to optimize and...

I add a TU to validate the code in experimental branch.

Hello @rlancemartin, @hwchase17, I have just published an update to better identify verbatim of the original document, and I had some documentations. Code migrated to experimental, with unit-test. Can you...

Hello @rlancemartin, I updated the code to extract *all verbatim* from the original document. You can see a clear sample [here](https://github.com/pprados/langchain/blob/pprados/qa_with_references/libs/experimental/docs/qa_with_reference.ipynb). I hope to be integrated into the experimental branch...