brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
provider-pluginsCreate, package, register, test, and troubleshoot custom LangExtract provider plugins.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when a task is about adding a new LangExtract model backend as an external Python package, making it discoverable through the provider router, or debugging plugin discovery/registration/schema integration.
../providers/SKILL.md.../extraction/SKILL.md.AnnotatedDocument results, or HTML visualization: use ../visualization/SKILL.md.../providers/SKILL.md.python scripts/create_provider_plugin.py MyProvider --with-schema --patterns '^my-model' --output-dir ./plugins
The generator writes a package under the selected output directory and does not install anything unless --install-and-test is explicitly passed.pyproject.toml with [project.entry-points."langextract.providers"] pointing to a package object that imports the provider class.langextract.core.base_model.BaseLanguageModel and whose infer() yields one sequence of langextract.core.types.ScoredOutput objects for each prompt.@router.register(...). Use narrow patterns and explicit priority choices to avoid conflicts with built-ins.BaseSchema subclass plus get_schema_class(), from_examples(), to_provider_config(), requires_raw_output, and apply_schema(None) handling.langextract.providers.load_plugins_once(), inspect router.list_entries(), resolve by model ID and explicit provider name, and run a mock or credential-gated smoke.See references/plugin-authoring.md for the detailed package/API/schema contract and references/troubleshooting.md for discovery, conflict, dependency, and schema failure modes.
tests/provider_plugin_test.py, tests/registry_test.py, and examples/custom_provider_plugin/test_example_provider.py.