You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api-references/text-models-llm/Mistral-AI/Mistral-7B-Instruct.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Mistral-7B-Instruct
2
2
3
-
<tabledata-header-hiddendata-full-width="true"><thead><tr><thwidth="546.4443969726562"valign="top"></th><thwidth="202.666748046875"valign="top"></th></tr></thead><tbody><tr><tdvalign="top"><divdata-gb-custom-blockdata-tag="hint"data-style="info"class="hint hint-info"><p>This documentation is valid for the following list of our models:</p><ul><li><code>mistralai/Mistral-7B-Instruct-v0.1</code></li><li><code>mistralai/Mistral-7B-Instruct-v0.2</code></li><li><code>mistralai/Mistral-7B-Instruct-v0.3</code></li></ul></div></td><tdvalign="top"><ahref="https://aimlapi.com/app/mistralai/mistral-7b-instruct-v0-3"class="button primary">Try in Playground</a></td></tr></tbody></table>
3
+
<tabledata-header-hiddendata-full-width="true"><thead><tr><thwidth="546.4443969726562"valign="top"></th><thwidth="202.666748046875"valign="top"></th></tr></thead><tbody><tr><tdvalign="top"><divdata-gb-custom-blockdata-tag="hint"data-style="info"class="hint hint-info"><p>This documentation is valid for the following list of our models:</p><ul><li><code>mistralai/Mistral-7B-Instruct-v0.2</code></li><li><code>mistralai/Mistral-7B-Instruct-v0.3</code></li></ul></div></td><tdvalign="top"><ahref="https://aimlapi.com/app/mistralai/mistral-7b-instruct-v0-3"class="button primary">Try in Playground</a></td></tr></tbody></table>
4
4
5
5
## Model Overview
6
6
@@ -12,25 +12,25 @@ An advanced version of the Mistral-7B model, fine-tuned specifically for instruc
12
12
13
13
<summary>Step-by-Step Instructions</summary>
14
14
15
-
#### :digit\_one: Setup You Can’t Skip
15
+
:digit\_one: **Setup You Can’t Skip**
16
16
17
17
:black\_small\_square: [**Create an Account**](https://aimlapi.com/app/sign-up): Visit the AI/ML API website and create an account (if you don’t have one yet).\
18
18
:black\_small\_square: [**Generate an API Key**](https://aimlapi.com/app/keys): After logging in, navigate to your account dashboard and generate your API key. Ensure that key is enabled on UI.
19
19
20
-
#### :digit\_two: Copy the code example
20
+
:digit\_two: **Copy the code example**
21
21
22
22
At the bottom of this page, you'll find [a code example](Mistral-7B-Instruct.md#code-example) that shows how to structure the request. Choose the code snippet in your preferred programming language and copy it into your development environment.
23
23
24
-
#### :digit\_three: Modify the code example
24
+
:digit\_three: **Modify the code example**
25
25
26
26
:black\_small\_square: Replace `<YOUR_AIMLAPI_KEY>` with your actual AI/ML API key from your account.\
27
27
:black\_small\_square: Insert your question or request into the `content` field—this is what the model will respond to.
28
28
29
-
#### :digit\_four: <sup><sub><markstyle="background-color:yellow;">(Optional)<markstyle="background-color:yellow;"><sub></sup>Adjust other optional parameters if needed
29
+
:digit\_four: <sup><sub><markstyle="background-color:yellow;">**(Optional)**<markstyle="background-color:yellow;"><sub></sup>** Adjust other optional parameters if needed**
30
30
31
31
Only `model` and `messages` are required parameters for this model (and we’ve already filled them in for you in the example), but you can include optional parameters if needed to adjust the model’s behavior. Below, you can find the corresponding [API schema](Mistral-7B-Instruct.md#api-schema), which lists all available parameters along with notes on how to use them.
32
32
33
-
#### :digit\_five: Run your modified code
33
+
:digit\_five: **Run your modified code**
34
34
35
35
Run your modified code in your development environment. Response time depends on various factors, but for simple prompts it rarely exceeds a few seconds.
0 commit comments