Document Comparison

Hi Everyone,

An interesting use case that I’d like to see explored is comparing multiple documents. In the context of this course, for example, what are the differences between lecture 1, 2, 3 and 4.

Currently I am able to store multiple docs into a vectordb but the LLM then seems to struggle to differentiate between the docs. I’m trying to get it to read two documents and highlight if there are any differences.

What I have also tried is storing the in two separate vectordbs. In theory we could then just compare the embeddings in the two vectordb and highlight the differences.

Has anyone here used such use cases?

I was able to do this using Lanchain Agents.