计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
generation-and-model-components【效率与协作】Choose and configure Haystack prompt builders, generators, embedders, classifiers, samplers, validators, and provider/model-backed components.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is about model-facing Haystack components: prompt construction, text or chat generation, embeddings, local/API provider setup, model-backed classification, answer formatting, sampling, JSON validation, credentials, streaming, or optional model dependencies.
PromptBuilder or ChatPromptBuilder, including Jinja variables, chat-message templates, runtime template overrides, and required variables.OpenAIChatGenerator, AzureOpenAIChatGenerator, HuggingFaceAPIChatGenerator, HuggingFaceLocalChatGenerator, OpenAIGenerator, AzureOpenAIGenerator, and Hugging Face local/API text generators.TopPSampler, AnswerBuilder, JsonSchemaValidator, Secret, structured output, and streaming callbacks.../pipelines-and-components/SKILL.md.../retrieval-and-rag/SKILL.md.../agents-tools-and-hitl/SKILL.md.../evaluation-and-observability/SKILL.md.str, list[ChatMessage], Document, or list[Document]; choose text generators for prompt -> replies, chat generators for messages -> replies, embedders for vectors, and classifiers/samplers/validators for post-processing.PromptBuilder for plain string prompts and ChatPromptBuilder for chat models; set required_variables="*" or a concrete list when missing variables must fail instead of rendering as empty strings.Secret.from_env_var(...) for provider credentials and avoid hard-coded tokens; pass model parameters through generation_kwargs, huggingface_pipeline_kwargs, embedder constructor options, or runtime run(..., generation_kwargs=...) overrides.JsonSchemaValidator or provider structured-output response_format when the downstream task needs machine-readable JSON; route validation_error back into a correction loop at the pipeline layer.scripts/model_component_smoke_check.py to verify public imports, prompt rendering, answer extraction, sampling, and JSON validation without network credentials.references/api-reference.md lists the core component imports, inputs, outputs, and configuration knobs.references/model-and-provider-guide.md explains provider selection, credentials, optional dependencies, local devices, streaming, and structured outputs.references/troubleshooting.md maps common install/import, credential/backend, API misuse, data/config, and workflow failures to fixes.scripts/model_component_smoke_check.py is a deterministic smoke check for importable public APIs and non-network component behavior.