tmc / langchaingo

LangChain for Go, the easiest way to write LLM-based programs in Go
https://tmc.github.io/langchaingo/
MIT License
4.84k stars 632 forks source link

Chroma: Replace existing documents with newer versions #1058

Open vogtp opened 3 weeks ago

vogtp commented 3 weeks ago

I am planing to index our confluence wiki with go langchain. Therefore I had to be able to replace existing documents in chroma.

This needed the following changes:

While at it I realised that the chroma vectorstore did not call the Deduplicater so I fixed this as well.

PR Checklist