Logo: Llm Providers

Llm Providers

Organisatioun
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.

Iwwersiicht

EditeurCognigy
Repositorycognigy-plugin
Skill-Nummllm-providers
Stären
20
Forks
14
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    Cognigy huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Llm Providers an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/Cognigy/cognigy-plugin/tree/main/plugin/skills/llm-providers
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

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
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Llm Providers an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Llm Providers automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Llm Providers net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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.

Heefeg gestallte Froen

Wat mécht de KI-Skill 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.

Firwat Llm Providers op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Llm Providers besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Llm Providers an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/Cognigy/cognigy-plugin/tree/main/plugin/skills/llm-providers an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Llm Providers benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Llm Providers benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Llm Providers domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Llm Providers gratis?

Jo. Cognigy huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇