Skip to content

Commit 04d5dd8

Browse files
feat: re-gen hermes-4-405b
1 parent 94bfeff commit 04d5dd8

File tree

2 files changed

+36
-504
lines changed

2 files changed

+36
-504
lines changed

docs/api-references/text-models-llm/NousResearch/hermes-4-405b.json

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1547,7 +1547,21 @@
15471547
}
15481548
}
15491549
},
1550-
"x-hideTryItPanel": true
1550+
"x-hideTryItPanel": true,
1551+
"x-codeSamples": [
1552+
{
1553+
"lang": "cURL",
1554+
"source": "curl -L \\\n --request POST \\\n --url 'https://api.aimlapi.com/v1/chat/completions' \\\n --header 'Authorization: Bearer <YOUR_AIMLAPI_KEY>' \\\n --header 'Content-Type: application/json' \\\n --data '{\n \"model\": \"nousresearch/hermes-4-405b\",\n \"messages\": [\n {\n \"role\": \"user\",\n \"content\": \"Hello\"\n }\n ]\n }'"
1555+
},
1556+
{
1557+
"lang": "JavaScript",
1558+
"source": "async function main() {\n const response = await fetch('https://api.aimlapi.com/v1/chat/completions', {\n method: 'POST',\n headers: {\n 'Authorization': 'Bearer <YOUR_AIMLAPI_KEY>',\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({\n model: 'nousresearch/hermes-4-405b',\n messages:[\n {\n role:'user',\n content: 'Hello'\n }\n ],\n }),\n });\n\n const data = await response.json();\n console.log(JSON.stringify(data, null, 2));\n}\n\nmain();"
1559+
},
1560+
{
1561+
"lang": "Python",
1562+
"source": "import requests\n\nresponse = requests.post(\n \"https://api.aimlapi.com/v1/chat/completions\",\n headers={\n \"Content-Type\":\"application/json\", \n \"Authorization\":\"Bearer <YOUR_AIMLAPI_KEY>\",\n },\n json={\n \"model\":\"nousresearch/hermes-4-405b\",\n \"messages\":[\n {\n \"role\":\"user\",\n \"content\":\"Hello\"\n }\n ],\n }\n)\n\ndata = response.json()\nprint(data)"
1563+
}
1564+
]
15511565
}
15521566
},
15531567
"/chat/completions": {
@@ -3087,7 +3101,21 @@
30873101
}
30883102
}
30893103
},
3090-
"x-hideTryItPanel": true
3104+
"x-hideTryItPanel": true,
3105+
"x-codeSamples": [
3106+
{
3107+
"lang": "cURL",
3108+
"source": "curl -L \\\n --request POST \\\n --url 'https://api.aimlapi.com/v1/chat/completions' \\\n --header 'Authorization: Bearer <YOUR_AIMLAPI_KEY>' \\\n --header 'Content-Type: application/json' \\\n --data '{\n \"model\": \"nousresearch/hermes-4-405b\",\n \"messages\": [\n {\n \"role\": \"user\",\n \"content\": \"Hello\"\n }\n ]\n }'"
3109+
},
3110+
{
3111+
"lang": "JavaScript",
3112+
"source": "async function main() {\n const response = await fetch('https://api.aimlapi.com/v1/chat/completions', {\n method: 'POST',\n headers: {\n 'Authorization': 'Bearer <YOUR_AIMLAPI_KEY>',\n 'Content-Type': 'application/json',\n },\n body: JSON.stringify({\n model: 'nousresearch/hermes-4-405b',\n messages:[\n {\n role:'user',\n content: 'Hello'\n }\n ],\n }),\n });\n\n const data = await response.json();\n console.log(JSON.stringify(data, null, 2));\n}\n\nmain();"
3113+
},
3114+
{
3115+
"lang": "Python",
3116+
"source": "import requests\n\nresponse = requests.post(\n \"https://api.aimlapi.com/v1/chat/completions\",\n headers={\n \"Content-Type\":\"application/json\", \n \"Authorization\":\"Bearer <YOUR_AIMLAPI_KEY>\",\n },\n json={\n \"model\":\"nousresearch/hermes-4-405b\",\n \"messages\":[\n {\n \"role\":\"user\",\n \"content\":\"Hello\"\n }\n ],\n }\n)\n\ndata = response.json()\nprint(data)"
3117+
}
3118+
]
30913119
}
30923120
}
30933121
},

0 commit comments

Comments
 (0)