L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Développement · SKILL.md

marqo

marqo

Marqo AI-native search service workflows for HTTP APIs, indexes, Vespa schemas, search/ranking, inference/model services, and local repository development.

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: marqo description: "Marqo AI-native search service workflows for HTTP APIs, indexes, Vespa schemas, search/ranking, inference/model services, and local repository development." disable-model-invocation: true metadata: disco-role: operating license: Apache 2.0

Marqo

Use this repo skill when a task involves Marqo: AI-native search APIs, index/document/search workflows, Vespa-backed schema/query behavior, inference/model-management services, or Marqo repository development and testing.

Marqo is a multi-component Python/FastAPI service repository. Its main public surface is the Marqo API service, with supporting common model registry, inference orchestrator, model-management service, Vespa application package, and Docker/compose runtime.

First checks

Route by task

User taskOpen
Health/index/document/embed/recommend/typeahead HTTP requests, request/response/error mapping, dry-run HTTP smoke planssub-skills/documents-and-api/
Index settings, structured vs semi-structured vs legacy unstructured models, field validation, Vespa schema/query generation, local Vespa app/custom searcher guidancesub-skills/index-and-vespa/
Tensor/lexical/hybrid search payloads, filters, searchable attributes, score modifiers, facets, collapse, recency, sort, relevance cutoff, recommend ranking choicessub-skills/search-and-ranking/
Model registry, /vectorise, preprocessing schemas, random/HF/OpenCLIP pipelines, inference cache, Triton/model-management load/unload, CUDA/backend checkssub-skills/inference-and-models/
Local development, Docker/Vespa/Triton/Redis/Zookeeper services, Maven custom searcher build, test selection, contributor rulessub-skills/local-development/

Operating rules

  1. Prefer the narrowest sub-skill. Marqo search requests often span API, index schema, search ranking, and model inference; route each decision to its owning sub-skill instead of guessing.
  2. Treat service-mutating actions as explicit decisions. Bundled scripts default to printing or checking only; starting/stopping containers, deleting indexes, deploying Vespa apps, loading models, and sending writes to Marqo require user approval or an explicit live-service request.
  3. For no-download or no-service checks, prefer random/* model properties, safe import probes, and payload builders before using OpenCLIP/HF model downloads or Triton.
  4. When editing source, follow the repository rule to make changes directly in semi_structured_vespa_index even if code inherits from structured_vespa_index.
  5. Core code should raise marqo.core.exceptions or marqo.exceptions, not API-layer exceptions; API mapping belongs in the API layer.
  6. Use Python 3.11 for package/runtime checks. Unit and integration tests generally require component-root working directories and PYTHONPATH=./src.

Minimal public install/import check

For a development checkout, install only the component(s) needed for the task rather than every dev/perf requirement group. For package-use checks, the important import names are:

import marqo
import marqo_common
import inference_orchestrator
import model_management

For an offline safety probe from a prepared environment:

python scripts/check_marqo_environment.py --json

If imports fail, open references/troubleshooting.md and then route to sub-skills/local-development/ for install/test setup or sub-skills/inference-and-models/ for optional model/backend dependencies.

Verification scope

This skill includes safe script checks and static/offline workflows. Service-backed API, Vespa, Triton, and model-download checks are intentionally optional and must be selected explicitly because they can start containers, mutate indexes, deploy application packages, or contact external model/object stores.

Skills enregistrées