mem0 icon indicating copy to clipboard operation
mem0 copied to clipboard

refactor: src instead of url

Open cachho opened this issue 2 years ago • 0 comments

This PR is renaming url variables to src in appropriate placse.

There are two reasons for this PR.

  1. We use local data too. In add and add_local this is reflected by naming the arguments url and content. So naming all data sources url in the following functions is confusing to read when you debug local data.
  2. The BaseChunker has url as a reused variable. It did not cause problems, but should still be avoided.

cachho avatar Jul 01 '23 10:07 cachho