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: integrations/llms/mistral-ai.mdx
+106Lines changed: 106 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -163,6 +163,112 @@ You can manage all prompts to Mistral AI in the [Prompt Library](/product/prompt
163
163
164
164
Once you're ready with your prompt, you can use the `portkey.prompts.completions.create` interface to use the prompt in your application.
165
165
166
+
167
+
### Mistral Tool Calling
168
+
Tool calling feature lets models trigger external tools based on conversation context. You define available functions, the model chooses when to use them, and your application executes them and returns results.
169
+
170
+
Portkey supports Groq Tool Calling and makes it interoperable across multiple providers. With Portkey Prompts, you can templatize various your prompts & tool schemas as well.
171
+
172
+
<Cardtitle="Supported Groq Models with Tool Calling"href="https://console.groq.com/docs/tool-use#supported-models">
173
+
174
+
</Card>
175
+
176
+
<Tabs>
177
+
<Tabtitle="Node.js">
178
+
```javascript Get Weather Tool
179
+
let tools = [{
180
+
type:"function",
181
+
function: {
182
+
name:"getWeather",
183
+
description:"Get the current weather",
184
+
parameters: {
185
+
type:"object",
186
+
properties: {
187
+
location: { type:"string", description:"City and state" },
0 commit comments