Coder Social home page Coder Social logo

Updating the index about chroma HOT 4 CLOSED

chroma-core avatar chroma-core commented on July 24, 2024
Updating the index

from chroma.

Comments (4)

jeffchuber avatar jeffchuber commented on July 24, 2024

Update here!

  • You can update the index by just adding more items with add_items. You might need to check the size of the index first however and resize_index first. No idea what the logic is around how expensive this is.. cons of making it too large, etc.
  • You can soft delete using mark_deleted and unmark_deleted. Seems the ideal approach is to tombstone items and then have a background job clean things up. This is what weaviate did for example.

some relevant links

So the next step here is to proof of concept growing the index. As well as proof of concept around deleting items.

from chroma.

jeffchuber avatar jeffchuber commented on July 24, 2024

Getting close on this... I need to figure out how to use RETURNING in the context of executemany in python. It should be possible, but it's not working as I expect... Going to run a test in the CLI next.

from chroma.

jeffchuber avatar jeffchuber commented on July 24, 2024

Not worth implementing until we swap out duckdb.

from chroma.

jeffchuber avatar jeffchuber commented on July 24, 2024

Moving to backlog

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.