Logotipo de Llm Providers

Llm Providers

Organización
Cognigy
llm-providers

Use when configuring or choosing an LLM for a Cognigy agent — valid provider names (openAI, anthropic, azureOpenAI, google, mistral, openAICompatible, awsBedrock), model strings, connection types, credential resolution, OpenAI-compatible endpoints (vLLM, Hugging Face, LiteLLM, Azure AI Foundry, self-hosted), and AWS Bedrock models.

Descripción general

EditorCognigy
Repositoriocognigy-plugin
Nombre de la habilidadllm-providers
Estrellas
20
Forks
14
Archivos incluidos
Solo instrucciones
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por Cognigy en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Llm Providers en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/Cognigy/cognigy-plugin/tree/main/plugin/skills/llm-providers
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Cognigy/cognigy-plugin.git /tmp/cognigy-plugin
mkdir -p .claude/skills
cp -r /tmp/cognigy-plugin/plugin/skills/llm-providers .claude/skills/llm-providers
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Llm Providers en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Llm Providers automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Llm Providers no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

LLM Provider Reference

When to call setup_llm

setup_llm creates a brand-new LLM resource and is a last resort. Before calling it, all of these must be true:

  1. You listed all projects (list_resources { resourceType: "project" }).
  2. You checked every other project for existing LLMs (list_resources { resourceType: "llm_model", projectId }).
  3. Where another project has a reusable LLM with a non-empty connectionId, you attempted to transfer it together with its connection via manage_packages (see the package-management skill).
  4. You are proceeding only because reuse is unavailable, the transfer failed, or the user explicitly asked for a brand-new LLM.

A NiCE-provided model in the target project (isInPlatformLlm: true, shown as "Included by NiCE Cognigy") works without a connection, so it needs no setup_llm and no transfer.

If any step is missing, stop and do it first. To list existing LLMs use list_resources { resourceType: "llm_model", projectId }; to delete one use delete_resource { resourceType: "llm_model", id }.

setup_llm parameters

providermodelType examplesConnection typeNotes
openAIgpt-4o, gpt-4o-mini, gpt-4.1, gpt-4.1-miniOpenAIProviderRequires apiKey (sk-...)
anthropicclaude-sonnet-4-0, claude-opus-4-0, claude-3-opus-20240229AnthropicProviderRequires apiKey
azureOpenAIgpt-4o (deployment name)AzureOpenAIProviderV2Requires apiKey, may need connectionId with deployment config
googlegemini-2.0-flash, gemini-1.5-proGoogleVertexAIProviderRequires apiKey
mistralmistral-small-2503, mistral-medium-latestMistralProviderRequires apiKey
openAICompatiblecustom-model, custom-embedding-modelOpenAICompatibleProviderRequires apiKey + baseCustomUrl + customModel (see below)
awsBedrockamazon.nova-pro-v1:0, custom-modelAwsBedrockProvider / AwsBedrockProviderIamRoleRequires region + accessKeyId/secretAccessKey or roleArn (see below)

Model groups

setup_llm can create different kinds of Cognigy LLM resources. The important distinction is the modelType:

  • Chat models: used for AI Agents, Knowledge Search, and Answer Extraction. Examples: gpt-4o, gpt-4o-mini, gpt-4.1, claude-sonnet-4-0, gemini-2.0-flash, mistral-small-2503.

  • Embedding models: used for knowledge-store vector indexing. Examples: text-embedding-3-small, text-embedding-3-large, text-embedding-ada-002, luminous-embedding-128, amazon.titan-embed-text-v2:0, Pharia-1-Embedding-4608, gemini-embedding-001, custom-embedding-model.

  • Speech-to-speech (S2S, also called voice-to-voice or V2V; the model is GPT Live): gpt-live-1, provider openAI only, modelGroup: "voiceToVoice". It is only ever an AI Agent's voice model (manage_agent voiceLargeLanguageModelReferenceId), never a text LLM and never the project default; setup_llm creates it with isDefault: false. On an environment without speech-to-speech, setup_llm returns error: "s2s_not_enabled" and creates nothing. Full recipe: s2s-demo skill.

Chat/completion models are not embedding models. gpt-4o-mini is a chat model, not a valid embedding-model choice for knowledge-store indexing.

When using list_resources { resourceType: "llm_model", projectId }, inspect the returned modelType and select the model by its exact role. Do not infer that all LLMs are interchangeable.

Knowledge Search and Answer Extraction (manage_settings set_knowledge_ai) take same-project llm_model referenceIds that the Cognigy API accepts for that use case — check candidates with list_resources { resourceType: "llm_model", projectId, useCase: "knowledgeSearch" }. Do not call setup_llm as an automatic workaround for a knowledgeSearchModelId failure while same-project candidates still exist.

OpenAI-compatible providers (openAICompatible)

Use provider openAICompatible for ANY endpoint that speaks the OpenAI API but is not OpenAI itself: vLLM, Hugging Face, LiteLLM, Groq, Together AI, Azure AI Foundry (model router), or self-hosted deployments. Do NOT mislabel these as openAI — without a base URL the connection test hits api.openai.com and fails.

Required parameters:

  • modelType: exactly custom-model (chat) or custom-embedding-model (embedding) — never the real model name
  • customModel: the model name as known by the provider, e.g. llama-3.3-70b-instruct
  • baseCustomUrl: the provider's OpenAI-compatible base URL, e.g. https://my-llm-host.example.com/v1
  • apiKey (or a same-project connectionId)

Optional parameters:

  • customAuthHeader: custom HTTP header name for authentication (e.g. Ocp-Apim-Subscription-Key). When set, the API key is sent in that header instead of Authorization: Bearer <key>.
  • apiType: chatCompletion (default) or responses — only use responses if the provider supports OpenAI's Responses API.

Example:

json
{
  "projectId": "<projectId>",
  "provider": "openAICompatible",
  "modelType": "custom-model",
  "customModel": "llama-3.3-70b-instruct",
  "baseCustomUrl": "https://my-llm-host.example.com/v1",
  "apiKey": "<key>"
}

Notes:

  • The Completions API for custom LLMs is deprecated (removal planned for Cognigy.AI 2026.24.0) — use Chat Completions or Responses.
  • When inspecting existing models via list_resources / get_resource, openAI-compatible models show modelType: "custom-model"; the real model name and endpoint are in the openAICompatible object (customModel, baseCustomUrl, customAuthHeader).

AWS Bedrock (awsBedrock)

Use provider awsBedrock for models hosted on AWS Bedrock (Amazon Nova, Anthropic Claude on Bedrock, Titan embeddings).

Required parameters:

  • region: AWS region of the Bedrock deployment, e.g. us-east-1
  • modelType: a Bedrock model id from Cognigy's supported list — chat: amazon.nova-pro-v1:0, amazon.nova-lite-v1:0, amazon.nova-micro-v1:0, amazon.nova-2-lite-v1:0; embedding: amazon.titan-embed-text-v2:0. For any other Bedrock model (including Claude) use custom-model and put the model id — or an inference profile id like eu.anthropic.claude-sonnet-4-6 — in customModel. Cognigy's list changes with platform releases (anthropic.claude-3-5-sonnet-20240620-v1:0 was removed in 2026.10); check the deprecations table in the docs if a named id is rejected.
  • Credentials — one of (NOT apiKey):
    • accessKeyId + secretAccessKey (access-key auth → AwsBedrockProvider connection) — the standard option, works everywhere
    • roleArn (IAM-role auth → AwsBedrockProviderIamRole connection) — feature-gated: only works when the Cognigy installation has IAM connections enabled for the organisation (FEATURE_ENABLE_IAM_AWS_CONNECTION_WHITELIST); otherwise connection creation is rejected with "This type is not enabled for your installation". Don't steer users here unless they asked for IAM-role auth — default to the key pair.
    • connectionId of an existing same-project connection

Optional parameters:

  • location: inference-call routing — region (default; requests stay in the given AWS region), geo (routed within a geographic boundary; requires geo), or global (routed worldwide, highest throughput, no data-residency guarantee)
  • geo: required when location is geo — the geographic boundary, e.g. us, eu, apac. The AWS region must lie inside it.

Example:

json
{
  "projectId": "<projectId>",
  "provider": "awsBedrock",
  "modelType": "amazon.nova-pro-v1:0",
  "region": "eu-central-1",
  "accessKeyId": "<AWS access key id>",
  "secretAccessKey": "<AWS secret access key>"
}

When inspecting existing models, the region, routing location/geo, and custom model id are in the awsBedrock object of the response.

Caveat: AWS Bedrock rejects requests with an empty or whitespace-only system prompt (HTTP 400). For AI Agents this applies only when persona, job description, AND instructions are all empty — make sure a Bedrock-backed agent has at least one of them filled.

Credential resolution

  • Provide the provider's credentials — a Connection is auto-created, then the LLM resource is linked to it. For most providers that is apiKey; for awsBedrock it is accessKeyId + secretAccessKey or roleArn instead (apiKey is rejected there)
  • Provide connectionId (UUID referenceId of an existing Connection in the SAME project, of a type matching the provider) to skip connection creation — never together with inline credentials
  • Either the provider's credentials or connectionId is required
  • If the only working connection lives in another project, transfer the LLM + connection via manage_packages instead of passing that connectionId directly

Connection validation

After creating the model, setup_llm automatically tests the connection by sending a minimal probe to the provider. This catches invalid API keys, wrong model types, and misconfigured providers before they can break downstream flows.

  • Test passes: the response includes connectionTest.isCredentialsValid: true and the provider's confirmation message.
  • Test fails: the model is automatically deleted to prevent broken references, and an error is returned with the provider's error message.
  • Test endpoint unreachable: the model is kept but a warning is returned advising manual verification.
  • dangerouslySkipConnectionTest: true: the test is not run at all; the model is kept and the response carries a warning that no connectivity check was performed.

After creation: default vs explicit assignment

  • isDefault: true (the default) makes the new LLM the project default, so AI Agents in the project use it automatically — no extra step.
  • isDefault: false means nothing uses it until you assign it: update_ai_agent { aiAgentId, jobConfig: { llmProviderReferenceId: "<referenceId from the setup_llm response>" } }.

Common errors

  • "Invalid provider": use exact camelCase strings from the provider column (openAI, not openai)
  • "Authentication failed": verify the credentials are valid for that provider (apiKey; or AWS access keys / role ARN for awsBedrock)
  • "Model not found": check exact modelType spelling (e.g. gpt-4o, not gpt4o)

Troubleshooting: dangerouslySkipConnectionTest

If the connection test cannot run in your environment (e.g., air-gapped setup, unsupported custom model provider), you can pass dangerouslySkipConnectionTest: true to skip validation. This is a last resort — it may leave a non-functional model reference that silently breaks agent conversations and knowledge stores. Always prefer fixing the root cause instead. Do not use this to work around a missing, invalid, or cross-project connection.

Preguntas frecuentes

¿Qué hace la habilidad de IA Llm Providers?

Use when configuring or choosing an LLM for a Cognigy agent — valid provider names (openAI, anthropic, azureOpenAI, google, mistral, openAICompatible, awsBedrock), model strings, connection types, credential resolution, OpenAI-compatible endpoints (vLLM, Hugging Face, LiteLLM, Azure AI Foundry, self-hosted), and AWS Bedrock models.

¿Por qué usar Llm Providers en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Llm Providers está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Llm Providers en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/Cognigy/cognigy-plugin/tree/main/plugin/skills/llm-providers. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Llm Providers?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Llm Providers?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Llm Providers con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Llm Providers?

Sí. Cognigy la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇