langflow-ai / langflow

⛓️ Langflow is a visual framework for building multi-agent and RAG applications. It's open-source, Python-powered, fully customizable, LLM and vector store agnostic.
http://www.langflow.org
MIT License
18.48k stars 2.77k forks source link

RetrievalQAWithSourcesChain Not showing sources of the information #856

Closed ojaragodwin closed 6 months ago

ojaragodwin commented 9 months ago

Describe the bug tWhen i use RetrievalQAWithSourcesChain and build the flows successfully, When i chat with what i have built, i get the right responses but i dont get the sources of the information as shown in the picture below.

Browser and Version

To Reproduce Steps to reproduce the behavior: Build the above flows and chart with it, it will give you the righ responses but not sources of the infromation

Screenshots image

Here is the conversation i had with the bot image (1)

sqrt676 commented 8 months ago

use embeddings (chunks & vector db), there i got the sources.

jaymangukiya0001 commented 8 months ago

@ojaragodwin any luck on this, brother? I am getting the same issue. I searched everywhere but couldn't find anything.

jaymangukiya0001 commented 8 months ago

@sqrt676 could you please share your flow?

sqrt676 commented 8 months ago

Okay I’ll share it asap.

jaymangukiya0001 commented 8 months ago

Thanks a lot @sqrt676

sqrt676 commented 8 months ago

Hi! @jaymangukiya0001 , which type of sources are you expecting, I used retrivalQAchain and it showed.

sqrt676 commented 8 months ago

My diagram is the one from community example of langchain @jaymangukiya0001 naming PDF....

sqrt676 commented 7 months ago

is your issue solved? @jaymangukiya0001

stale[bot] commented 6 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.