23 lines
586 B
JSON
23 lines
586 B
JSON
{
|
|
"id": "@janhq/inference-mistral-extension",
|
|
"type": "remote",
|
|
"engine": "mistral",
|
|
"url": "https://console.mistral.ai/api-keys/",
|
|
"api_key": "",
|
|
"metadata": {
|
|
"get_models_url": "https://api.mistral.ai/v1/models",
|
|
"header_template": "Authorization: Bearer {{api_key}}",
|
|
"transform_req": {
|
|
"chat_completions": {
|
|
"url": "https://api.mistral.ai/v1/chat/completions",
|
|
"template": "{{tojson(input_request)}}"
|
|
}
|
|
},
|
|
"transform_resp": {
|
|
"chat_completions": {
|
|
"template": "{{tojson(input_request)}}"
|
|
}
|
|
}
|
|
}
|
|
}
|