mistral-core-workflow-b
Execute Mistral AI secondary workflows: Embeddings and Function Calling. Use when implementing semantic search, RAG applications, or tool-augmented LLM interactions. Trigger with phrases like "mistral embeddings", "mistral function calling", "mistral tools", "mistral RAG", "mistral semantic search".
npx skills add majiayu000/claude-skill-registry --skill mistral-core-workflow-b --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Mistral AI Core Workflow B: Embeddings & Function Calling ## Overview Secondary workflows for Mistral AI: Text embeddings for semantic search and function calling for tool use. ## Prerequisites - Completed `mistral-install-auth` setup - Familiarity with `mistral-core-workflow-a` - Valid API credentials configured ## Embeddings ### Step 1: Generate Text Embeddings ```typescript import Mistral from '@mistralai/mistralai'; const client = new Mistral({ apiKey: process.env.MISTRAL_API_KEY, }); async function getEmbedding(text: string): Promise<number[]> { const response = await client.embeddings.create({ model: 'mistral-embed', inputs: [text], }); return response.data[0].embedding; } // Usage const embedding = await getEmbedding('Machine learning is fascinating.'); console.log(`Embedding dimensions: ${embedding.length}`); // 1024 ``` ### Step 2: Batch Embeddings ```typescript async function getBatchEmbeddings(texts: string[]): Promise<number[][]> { const response = await client.embeddings.create({ model: 'mistral-embed', inputs: texts, }); return response.data.map(d => d.embedding); } // Usage const documents = [ 'Python is a programming language.', 'JavaScript runs in browsers.', 'Ru
- Overview
- Prerequisites
- Embeddings
- Step 1: Generate Text Embeddings
- Step 2: Batch Embeddings
- Step 3: Semantic Search Implementation
- Function Calling
- Step 4: Define Tools
- Step 5: Implement Function Calling Loop
- Step 6: RAG (Retrieval-Augmented Generation)
- Output
- Error Handling
- Examples
- Python Embeddings
What does the mistral-core-workflow-b skill do?
Execute Mistral AI secondary workflows: Embeddings and Function Calling. Use when implementing semantic search, RAG applications, or tool-augmented LLM interactions. Trigger with phrases like "mistral embeddings", "mistral function calling", "mistral tools", "mistral RAG", "mistral semantic search".
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill mistral-core-workflow-b --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
