Precios Iniciar sesión Empezar gratis
Integraciones

AI Providers

M-TEH supports all major AI providers. Add one or more — and use them in pipelines for response generation, context classification, and data extraction.

Supported providers

OpenAI

The most widely used provider. Supports the chat completion API.

ParameterValue
Endpointhttps://api.openai.com/v1/chat/completions
API KeyGet at platform.openai.com
Modelsgpt-4o, gpt-4o-mini, gpt-4-turbo, gpt-3.5-turbo
Auth headerAuthorization: Bearer {key}

Anthropic Claude

Claude models feature a large context window and excellent instruction-following.

ParameterValue
Endpointhttps://api.anthropic.com/v1/messages
API KeyGet at console.anthropic.com
Modelsclaude-opus-4-6, claude-sonnet-4-6, claude-haiku-4-5-20251001
Auth headerx-api-key: {key}
Claude uses a different API format — the system automatically selects the right one; just set the type to AI Claude.

Google Gemini

ParameterValue
Endpointhttps://generativelanguage.googleapis.com/v1beta
API KeyGet at aistudio.google.com
Modelsgemini-2.0-flash, gemini-1.5-pro, gemini-1.5-flash

YandexGPT

ParameterValue
Endpointhttps://llm.api.cloud.yandex.net/foundationModels/v1/completion
API KeyIAM token or Yandex Cloud API key
Modelsyandexgpt, yandexgpt-lite, yandexgpt-32k
Auth headerAuthorization: Api-Key {key}

GigaChat (Sber)

ParameterValue
Endpointhttps://gigachat.devices.sberbank.ru/api/v1/chat/completions
API KeyOAuth Access Token from GigaChat API
ModelsGigaChat-Pro, GigaChat-Plus, GigaChat

Custom (OpenAI-compatible)

Any local or cloud endpoint compatible with the OpenAI Chat Completions format. Suitable for Ollama, LM Studio, Together AI, Groq, and others.

Custom endpointhttp://localhost:11434/v1/chat/completions  # Ollama
https://api.groq.com/openai/v1/chat/completions    # Groq
https://api.together.xyz/v1/chat/completions       # Together AI

System prompt

The system prompt is an instruction that is always sent to the AI before the user's message. It defines the assistant's role, tone, response boundaries, and business context.

Example promptYou are a polite assistant for "M-TEH Shop" online store.
Only answer questions about products, shipping, and payments.
If the question is off-topic, politely say you can't help
and suggest contacting a manager.
Always reply in English. Be concise — no more than 3 sentences.
Provider API keys are stored in an encrypted meta field and are never exposed to client code. The widget only uses the M-TEH Key of the integration.

Model selection tips

  • gpt-4o-mini / gemini-2.0-flash — ideal for chatbots: fast, cheap, high quality.
  • claude-haiku-4-5 — best speed/quality balance for classification.
  • claude-sonnet-4-6 / gpt-4o — for complex instructions and data extraction.
  • YandexGPT / GigaChat — for Russian-language content processing tasks.