Coder Social home page Coder Social logo

[Bug]: Removal of metadata key about chroma HOT 4 OPEN

tazarov avatar tazarov commented on August 27, 2024
[Bug]: Removal of metadata key

from chroma.

Comments (4)

tazarov avatar tazarov commented on August 27, 2024 1

@GauravWaghmare, take a look at the CIP PR for this - #1636. There is a bit more "nuance" to things.

I'd love your input on the CIP.

from chroma.

GauravWaghmare avatar GauravWaghmare commented on August 27, 2024

@tazarov If I understand correctly this is happening because we're only inserting metadata when updating records and not touching the existing metadata. Does deleting the older metadata for the record and then inserting the new metadata sound like a good approach? If yes, can raise a PR.

from chroma.

GauravWaghmare avatar GauravWaghmare commented on August 27, 2024

@tazarov Why should the behaviour for metadata update be any different from document update?

from chroma.

tazarov avatar tazarov commented on August 27, 2024

@GauravWaghmare, to accommodate different use cases of how people update metadata. Users will update a document in a single overwriting operation. The intent is clear, and they don't necessarily need to know what is in the document to make the update. Metadata differs significantly, depending on the use case. The PR addresses as many use cases as I could think of:

  • Clear the metadata
  • Partial update
  • Full overwrite of metadata

Please elaborate on your thoughts in the PR if you feel the above use cases can somehow be merged into one or if you have a different idea about the implementation.

from chroma.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.