GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |
GeezerVison is showing github.com — feat: add TwelveLabs Marengo embedder for cross-modal video/text search by mohit-twelvelabs · Pull Request #1936 · docarray/docarray
This repository was archived by the owner on Sep 9, 2026. It is now read-only.
ConversationHi! I'm Mohit, I work at TwelveLabs (@mohit-twelvelabs). What this addsA new opt-in helper, Marengo maps text and video into the same 512-dimensional vector space, so a text-query embedding can be compared directly against video embeddings. That makes it a natural fit for DocArray's from docarray import DocList from docarray.documents import VideoDoc from docarray.utils.twelvelabs import TwelveLabsEmbedder embedder = TwelveLabsEmbedder() # reads TWELVELABS_API_KEY from the env docs = DocList[VideoDoc]([VideoDoc(url="https://example.com/clip.mp4")]) embedder.embed_docs(docs) # fills docs[*].embedding in place q = embedder.embed_query("a dog catching a frisbee") # same 512-d space Why it helps this projectDocArray already models video as a first-class type ( Opt-in / non-breaking
How it was tested
You can grab a free API key at https://twelvelabs.io — there's a generous free tier.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsSigned-off-by: Mohit Varikuti <[email protected]>
mohit-twelvelabs
force-pushed
the
feat/twelvelabs-integration
branch
from
caed0f7 to
1320dff
Compare
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. This branch has not been deployedNo deployments
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
ReviewersNo reviewsUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. | |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |