lfoppiano / document-qa

Scientific Document Insight Q/A
https://lfoppiano-document-qa.hf.space/
Apache License 2.0
23 stars 4 forks source link

Fix conversational memory #20

Closed lfoppiano closed 11 months ago

lfoppiano commented 11 months ago

The conversational memory was not working at all.

The Langchain implementation requires certain changes that weren't possbile at the moment.

I've re-implemented it so that the memory is used as supplier for the context. In future we could make more selective selection of the memory:

See example, before the third question I clear the memory: image