Logo de Lance

Lance

Comunidade
gordonmurray
lance

Design, index, query, and tune Lance datasets and LanceDB tables for ML and AI workloads. Use for vector index selection such as IVF_PQ or IVF_HNSW_FLAT, ANN recall and latency tuning, full-text and hybrid search, scalar indexes and prefiltering, dataset versioning and compaction, embedding and multimodal storage, slow vector search on object storage, or migrating ML data from Parquet. Covers both the pylance format and the lancedb API.

Visão geral

Publicado porgordonmurray
Repositóriodata-engineering-skills
Nome da habilidadelance
Estrelas
47
Forks
4
Arquivos incluídos
Somente instruções
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    Habilidades de IA são Markdown simples, não código específico de um provedor, por isso funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Completa em si mesma

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por gordonmurray no GitHub. Leia o conteúdo-fonte antes de instalar.

Instalação

Instale a habilidade de IA Lance no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL da pasta da habilidade exibida abaixo e confirme.
    https://github.com/gordonmurray/data-engineering-skills/tree/main/lance
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Nova habilidade → Via URL GitHub, depois cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/gordonmurray/data-engineering-skills.git /tmp/data-engineering-skills
mkdir -p .claude/skills
cp -r /tmp/data-engineering-skills/lance .claude/skills/lance
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Lance em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Lance automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Lance não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Lance Data Format Expert

Scope

Design, debugging, and optimization of Lance and LanceDB systems for ML-native data, embeddings, vector retrieval, and multimodal storage.

Covers the Lance format and LanceDB specifically. For general lakehouse table formats use the iceberg or paimon skills.

Current Facts

Release guidance checked on 2026-11-03. Recheck the linked sources before selecting versions for a new deployment; preserve existing project pins.

  • Lance SDK: v14.0.2 and pylance 14.0.2, released October 29, 2026. v15 betas and v14.0.3 release candidates are not stable releases. SDK versions are distinct from the on-disk format version.
  • LanceDB Python: 0.41.0, released October 29, 2026; this release uses Lance 14.0.2.
  • The Lance repository moved from lancedb/lance to lance-format/lance, with homepage lance.org. The old URL redirects.
  • Verify releases per package. Historical LanceDB tags differ across languages; current v0.41.0 notes also cover Python. Check PyPI for Python availability instead of inferring it from a tag prefix.
  • Python packages: install pylance for the Lance format and lancedb for the embedded/vector database API. The bare lance name on PyPI is an unrelated package by a different author. lancedb-compat is a same-API wheel for pre-Haswell x86_64 hosts without AVX2.
  • Python support: both packages declare requires-python >=3.10. The cp39-abi3 wheel tag is an ABI compatibility marker, not an install gate, so 3.9 does not work despite what the filename suggests.
  • Vector index types: IVF_FLAT, IVF_SQ, IVF_PQ, IVF_HNSW_SQ, IVF_HNSW_PQ, IVF_HNSW_FLAT, and IVF_RQ.
  • LanceDB 0.41 migration: table metadata no longer implicitly authorizes remote-code embedding models or custom endpoints. Explicitly approve trusted models/revisions and endpoints through the embedding registry; do not bypass UntrustedEmbeddingConfigError indiscriminately. Local computed columns and materialized views require an experimental build feature absent from published Python and Node packages.

Inspect First

Establish before recommending or changing anything:

  1. Whether this is a Lance format question (pylance, .lance, dataset versioning, storage layout) or a LanceDB question (lancedb, tables, search, indexes, reranking). The APIs differ.
  2. Installed versions of both packages, and verify API names against the installed version before writing detailed code.
  3. Row count, vector dimensionality, and fragment count. Whether an index is needed at all depends on these.
  4. Storage location. Object storage changes the latency model completely.
  5. For search-quality complaints, the current index type and parameters and the measured recall, before changing anything.

Decision Rules

  • Build a vector index only once the dataset is large enough to need one. Brute-force search on a small dataset is often faster and always exact.
  • Choose the index for the binding constraint: IVF_PQ for large memory-constrained datasets at some recall cost, IVF_HNSW_FLAT for higher recall at higher memory cost, IVF_RQ when memory reduction matters more than either.
  • Add scalar indexes on frequently filtered columns and combine filtering with vector search to shrink the candidate set.
  • Use full-text or hybrid search when relevance depends on language rather than on vector distance alone.
  • Batch writes. Each write creates a fragment, and fragment count drives read amplification.
  • On object storage, expect latency bounded by serial metadata, index, and data-page round trips rather than by bandwidth.
  • Prefer list_tables() over the deprecated table_names(), and session-level cache configuration over the deprecated per-table index_cache_size.

Safety

  • Lance dataset.optimize.compact_files() rewrites fragments and creates a new version; it preserves old versions and the files they reference.
  • cleanup_old_versions() removes eligible historical versions and files, ending time travel to those versions. Check retention and active readers before cleanup. Do not enable delete_unverified=True while writers run.
  • LanceDB table.optimize() can combine compaction, index maintenance, and version cleanup. Inspect that API's cleanup options for the installed version before running it; it is not equivalent to Lance's compaction-only call.
  • Overwrite mode replaces the table rather than appending. Confirm the intended write mode against an existing table.
  • Rebuilding an index on a large dataset is expensive in time and memory. State the expected cost before starting one.
  • Keep object storage credentials out of code and notebooks; use environment variables or platform secrets.

Verify

  • After building an index, confirm it exists and that query latency actually changed. Do not assume the index is being used.
  • Measure recall against a brute-force baseline on a sample before accepting an ANN configuration. Report the measured number.
  • After compaction, compare fragment count and query latency before and after.
  • Check retained versions separately from fragment counts. Compaction alone does not establish that historical storage was reclaimed.
  • Report row count, index type and parameters, and measured latency and recall, rather than claiming an index should help.

Update Checklist

  • Confirm latest lance-format/lance release before changing SDK guidance.
  • Confirm stable Python releases on PyPI and match their release notes; do not rely on tag naming conventions to identify the language package.

Sources

Perguntas frequentes

O que a habilidade de IA Lance faz?

Design, index, query, and tune Lance datasets and LanceDB tables for ML and AI workloads. Use for vector index selection such as IVF_PQ or IVF_HNSW_FLAT, ANN recall and latency tuning, full-text and hybrid search, scalar indexes and prefiltering, dataset versioning and compaction, embedding and multimodal storage, slow vector search on object storage, or migrating ML data from Parquet. Covers both the pylance format and the lancedb API.

Por que usar Lance no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. Lance é escrito em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. O TypingMind usa suas próprias chaves de API, então o pagamento é feito diretamente aos provedores, em vez de uma assinatura por licença de usuário, e suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Lance no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/gordonmurray/data-engineering-skills/tree/main/lance. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Lance?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Lance?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Lance com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Lance é gratuita?

Sim. A habilidade é publicada no GitHub por gordonmurray sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, modelos de documento ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas para chamar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA fornece conhecimento e um processo ao modelo: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver todos

Crie seu próprio espaço de IA agora

Inscreva-se na nossa newsletter para receber novidades sobre recursos e futuros sorteios 👇