Giter Club home page Giter Club logo

Comments (5)

timothycarambat avatar timothycarambat commented on September 13, 2024

How was this data embedded? That seems to indicate that it cannot find a document title for the embedding in the metadata. Tools like Llama Index and Langchain should attach the appropriate metadata

from vector-admin.

arnoldligtvoet avatar arnoldligtvoet commented on September 13, 2024

The data was embedded using Chroma with a local embedder from NodeJS. There is no metadata with the embedding, just document and ids. So I connect from code to the ChromaDB, attach to a collection and insert documents.

Like so:
await collection.add({ ids: ["id1", "id2", "id3"], documents: ["lorem ipsum...", "doc2", "doc3"], })

from vector-admin.

arnoldligtvoet avatar arnoldligtvoet commented on September 13, 2024

Can confirm that rebuilding the collection with the metadatas: [{"title":"title"}] does work, although it does surprise me that this breaks the import of data, as it could use id instead of title if title is not present?

from vector-admin.

timothycarambat avatar timothycarambat commented on September 13, 2024

Can confirm that rebuilding the collection with the metadatas: [{"title":"title"}] does work, although it does surprise me that this breaks the import of data, as it could use id instead of title if title is not present?

Absolutely, will mark this as a bug because that's a very specific thing to expect. We will eventually not enforce any specific metadata at all and the table will be customizable to which columns you would want to display at all. Also add/update existing metadata fields as well

from vector-admin.

timothycarambat avatar timothycarambat commented on September 13, 2024

moved to #40

from vector-admin.

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.