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.
| Parameter | Value |
|---|---|
| Endpoint | https://api.openai.com/v1/chat/completions |
| API Key | Get at platform.openai.com |
| Models | gpt-4o, gpt-4o-mini, gpt-4-turbo, gpt-3.5-turbo |
| Auth header | Authorization: Bearer {key} |
Anthropic Claude
Claude models feature a large context window and excellent instruction-following.
| Parameter | Value |
|---|---|
| Endpoint | https://api.anthropic.com/v1/messages |
| API Key | Get at console.anthropic.com |
| Models | claude-opus-4-6, claude-sonnet-4-6, claude-haiku-4-5-20251001 |
| Auth header | x-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
| Parameter | Value |
|---|---|
| Endpoint | https://generativelanguage.googleapis.com/v1beta |
| API Key | Get at aistudio.google.com |
| Models | gemini-2.0-flash, gemini-1.5-pro, gemini-1.5-flash |
YandexGPT
| Parameter | Value |
|---|---|
| Endpoint | https://llm.api.cloud.yandex.net/foundationModels/v1/completion |
| API Key | IAM token or Yandex Cloud API key |
| Models | yandexgpt, yandexgpt-lite, yandexgpt-32k |
| Auth header | Authorization: Api-Key {key} |
GigaChat (Sber)
| Parameter | Value |
|---|---|
| Endpoint | https://gigachat.devices.sberbank.ru/api/v1/chat/completions |
| API Key | OAuth Access Token from GigaChat API |
| Models | GigaChat-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.