Modèle Cerebras GPT OSS 120B
Ceci est unAI Chatbot, Multimodal AIworkflow d'automatisation du domainecontenant 6 nœuds.Utilise principalement des nœuds comme Set, HttpRequest, ChatTrigger. Chat IA à haute vitesse utilisant le modèle OpenAI GPT-OSS-120B via l'inférence Cerebras
- •Peut nécessiter les informations d'identification d'authentification de l'API cible
Nœuds utilisés (6)
Catégorie
{
"id": "fFKIMw0PeIP2TuOx",
"meta": {
"instanceId": "9219ebc7795bea866f70aa3d977d54417fdf06c41944be95e20cfb60f992db19",
"templateCredsSetupCompleted": true
},
"name": "cerebras with gpt oss 120b",
"tags": [],
"nodes": [
{
"id": "dc93a613-c19f-4dd4-b633-a1112970455d",
"name": "À la réception d'un message",
"type": "@n8n/n8n-nodes-langchain.chatTrigger",
"position": [
208,
0
],
"webhookId": "6530c15b-038f-4b20-bf38-58d034ac3ea6",
"parameters": {
"options": {}
},
"typeVersion": 1.3
},
{
"id": "a941ace5-5a7e-495a-a37d-8dee620f2bb5",
"name": "Retourner le résultat",
"type": "n8n-nodes-base.set",
"position": [
880,
0
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "409dd10e-b29c-4fac-b471-3204a46034a1",
"name": "output",
"type": "string",
"value": "={{ $json.choices[0].message.content }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "849f0355-d1e5-475c-bc1b-1fdd6c693745",
"name": "Définir la clé API",
"type": "n8n-nodes-base.set",
"position": [
432,
0
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "f828da75-ee7e-482b-83e5-123005f9878d",
"name": "apiKey",
"type": "string",
"value": "your-api-key"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "1f1590ef-2682-40cc-9e5f-447a2513dcc0",
"name": "Point de terminaison Cerebras",
"type": "n8n-nodes-base.httpRequest",
"position": [
656,
0
],
"parameters": {
"url": "https://api.cerebras.ai/v1/chat/completions",
"method": "POST",
"options": {
"redirect": {
"redirect": {}
}
},
"jsonBody": "={\n \"model\": \"gpt-oss-120b\",\n \"stream\": false,\n \"messages\": [\n {\n \"content\": \"{{ $('When chat message received').item.json.chatInput }}\",\n \"role\": \"user\"\n }\n ],\n \"temperature\": 0,\n \"max_completion_tokens\": -1,\n \"seed\": 0,\n \"top_p\": 1\n}",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "=Bearer {{ $json.apiKey }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "9eb60d7e-b40e-4e26-87ce-000e99c45985",
"name": "Note adhésive",
"type": "n8n-nodes-base.stickyNote",
"position": [
384,
-144
],
"parameters": {
"width": 192,
"height": 304,
"content": "## Set API key \n**Create an account and [get your Cerebras key](https://cerebras.ai)**"
},
"typeVersion": 1
},
{
"id": "4eba1448-d1eb-4ceb-85df-de10a942a91a",
"name": "Note adhésive 1",
"type": "n8n-nodes-base.stickyNote",
"position": [
592,
176
],
"parameters": {
"width": 272,
"height": 240,
"content": "## Parameters\nSet your endpoint parameters as needed\n- temperature\n- completion tokens\n- top P\n- reasoning effort\n\n[Review the endpoint](https://inference-docs.cerebras.ai/api-reference/chat-completions)"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "4a9e3b9f-4132-4871-b159-6c0663bcb49d",
"connections": {
"849f0355-d1e5-475c-bc1b-1fdd6c693745": {
"main": [
[
{
"node": "1f1590ef-2682-40cc-9e5f-447a2513dcc0",
"type": "main",
"index": 0
}
]
]
},
"1f1590ef-2682-40cc-9e5f-447a2513dcc0": {
"main": [
[
{
"node": "a941ace5-5a7e-495a-a37d-8dee620f2bb5",
"type": "main",
"index": 0
}
]
]
},
"dc93a613-c19f-4dd4-b633-a1112970455d": {
"main": [
[
{
"node": "849f0355-d1e5-475c-bc1b-1fdd6c693745",
"type": "main",
"index": 0
}
]
]
}
}
}Comment utiliser ce workflow ?
Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.
Dans quelles scénarios ce workflow est-il adapté ?
Intermédiaire - Chatbot IA, IA Multimodale
Est-ce payant ?
Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.
Workflows recommandés
Aitor | 1Node
@aitoralonsoHi, I'm Aitor with 1 Node. We create practical AI solutions for businesses. Nothing fancy, just tools that solve real problems and help you scale. Always happy to have a conversation about how we might be able to help you grow
Partager ce workflow