-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support the new Mistral Large model #5
Comments
To figure out the new model IDs: export MISTRAL=$(cat "$(llm keys path)" | jq .mistral -r)
curl -s 'https://api.mistral.ai/v1/models' -H "Authorization: Bearer $MISTRAL" | jq '.data[].id' Outputs:
|
Current code: Lines 8 to 12 in a4f6400
A bit annoying that they don't have a I'm inclined to keep my existing I'll fetch their JSON file the first time you try to call one of their models and cache it in |
Extract from the end of that JSON: [
{
"id": "mistral-large-2402",
"object": "model",
"created": 1708960437,
"owned_by": "mistralai",
"root": null,
"parent": null,
"permission": [
{
"id": "modelperm-d7f053a61bc14064b9b3a66c5e2735ed",
"object": "model_permission",
"created": 1708960437,
"allow_create_engine": false,
"allow_sampling": true,
"allow_logprobs": false,
"allow_search_indices": false,
"allow_view": true,
"allow_fine_tuning": false,
"organization": "*",
"group": null,
"is_blocking": false
}
]
},
{
"id": "mistral-embed",
"object": "model",
"created": 1708960437,
"owned_by": "mistralai",
"root": null,
"parent": null,
"permission": [
{
"id": "modelperm-ccf99400057448afb0567916e545c8a0",
"object": "model_permission",
"created": 1708960437,
"allow_create_engine": false,
"allow_sampling": true,
"allow_logprobs": false,
"allow_search_indices": false,
"allow_view": true,
"allow_fine_tuning": false,
"organization": "*",
"group": null,
"is_blocking": false
}
]
}
] The |
https://mistral.ai/news/mistral-large/
The text was updated successfully, but these errors were encountered: