Cookbook
Practical examples and tutorials for Mistral AI models.
Featured
- document understandingUse Cases: OCR, Documents, RAG
- data extractionUse Cases: OCR, Data Extraction, Structured outputs
- product classificationUse Cases: Classification
Latest
- hubspot dynamic multi agent systemUse Cases: Agents
- READMEUse Cases: Agents, Github
- pixtral finetune on satellite dataUse Cases: Pixtral, Finetuning
All Cookbooks (94)
- hubspot dynamic multi agent systemPath: mistral/agents/non_framework/hubspot_dynamic_multi_agent/hubspot_dynamic_multi_agent_system.ipynb
Use Cases: Agents - READMEPath: mistral/agents/agents_api/financial_analyst/README.md
Use Cases: Agents - RAG via function callingPath: mistral/rag/RAG_via_function_calling.ipynb
Use Cases: RAG, Function calling - function callingPath: mistral/function_calling/function_calling.ipynb
Use Cases: Function calling - READMEPath: mistral/agents/agents_api/github_agent/README.md
Use Cases: Agents, Github - document understandingPath: mistral/ocr/document_understanding.ipynb
Use Cases: OCR, Documents, RAG - pixtral finetune on satellite dataPath: mistral/fine_tune/pixtral_finetune_on_satellite_data.ipynb
Use Cases: Pixtral, Finetuning - cookbook langfuse mistral sdk integrationPath: third_party/Langfuse/cookbook_langfuse_mistral_sdk_integration.ipynb
Use Cases:
Integrations: Langfuse - cookbook langfuse posthog llama langfusePath: third_party/Langfuse/cookbook_langfuse_posthog_llama_langfuse.ipynb
Use Cases:
Integrations: Langfuse - azure ai search ragPath: third_party/Azure_AI_Search/azure_ai_search_rag.ipynb
Use Cases: Search, RAG
Integrations: Azure - neo4j ragPath: third_party/Neo4j/neo4j_rag.ipynb
Use Cases: RAG
Integrations: Neo4j - llamaindex mistral multi modalPath: third_party/LlamaIndex/llamaindex_mistral_multi_modal.ipynb
Use Cases: Multimodal, Vision
Integrations: Llamaindex - SubQuestionQueryEnginePath: third_party/LlamaIndex/SubQuestionQueryEngine.ipynb
Use Cases: Agents, RAG
Integrations: Llamaindex - llamaindex arxiv agentic rag with observabilityPath: third_party/LlamaIndex/llamaindex_arxiv_agentic_rag_with_observability.ipynb
Use Cases: Agents, RAG, Observability
Integrations: Llamaindex - RouterQueryEnginePath: third_party/LlamaIndex/RouterQueryEngine.ipynb
Use Cases: Query Engine
Integrations: Llamaindex - llamaindex mistralai finetuningPath: third_party/LlamaIndex/llamaindex_mistralai_finetuning.ipynb
Use Cases: Finetuning
Integrations: Llamaindex - ollama mistral llamaindexPath: third_party/LlamaIndex/ollama_mistral_llamaindex.ipynb
Use Cases:
Integrations: Llamaindex, Ollama - llamaindex agentic ragPath: third_party/LlamaIndex/llamaindex_agentic_rag.ipynb
Use Cases: Agents, RAG
Integrations: Llamaindex - llamaindex arxiv agentic ragPath: third_party/LlamaIndex/llamaindex_arxiv_agentic_rag.ipynb
Use Cases: Agents, RAG
Integrations: Llamaindex - RAGPath: third_party/LlamaIndex/RAG.ipynb
Use Cases: RAG
Integrations: Llamaindex - Adaptive RAGPath: third_party/LlamaIndex/Adaptive_RAG.ipynb
Use Cases: Adaptive RAG, RAG
Integrations: Llamaindex - property graph predefined schemaPath: third_party/LlamaIndex/propertygraphs/property_graph_predefined_schema.ipynb
Use Cases: Property graph
Integrations: Llamaindex - property graph custom retrieverPath: third_party/LlamaIndex/propertygraphs/property_graph_custom_retriever.ipynb
Use Cases: Property graph, Custom retrieve
Integrations: Llamaindex - property graph extractors retrieversPath: third_party/LlamaIndex/propertygraphs/property_graph_extractors_retrievers.ipynb
Use Cases: Property graph
Integrations: Llamaindex - property graphPath: third_party/LlamaIndex/propertygraphs/property_graph.ipynb
Use Cases: Property graph
Integrations: Llamaindex - property graph neo4jPath: third_party/LlamaIndex/propertygraphs/property_graph_neo4j.ipynb
Use Cases: Property graph
Integrations: Neo4j - codestral code interpreterPath: third_party/E2B_Code_Interpreting/codestral-code-interpreter-python/codestral_code_interpreter.ipynb
Use Cases: Python code interpreter, Codestral
Integrations: E2B - Chainlit Mistral reasoningPath: third_party/Chainlit/Chainlit_Mistral_reasoning.ipynb
Use Cases: Reasoning
Integrations: Chainlit - incremental prompt engineering and model comparisonPath: third_party/Pixeltable/incremental_prompt_engineering_and_model_comparison.ipynb
Use Cases: Prompt Engineering
Integrations: Pixeltable - langgraph code assistant mistralPath: third_party/langchain/langgraph_code_assistant_mistral.ipynb
Use Cases: Code assistant
Integrations: Langchain, Langgraph - adaptive rag mistralPath: third_party/langchain/adaptive_rag_mistral.ipynb
Use Cases: Adaptive RAG, RAG
Integrations: Langchain - cookbook maxim mistral integrationPath: third_party/Maxim/cookbook_maxim_mistral_integration.ipynb
Use Cases:
Integrations: Maxim - arize phoenix tracingPath: third_party/Phoenix/arize_phoenix_tracing.ipynb
Use Cases: Tracing
Integrations: Phoenix, Arize - arize phoenix evaluate ragPath: third_party/Phoenix/arize_phoenix_evaluate_rag.ipynb
Use Cases: Evaluation, RAG
Integrations: Phoenix, Arize - mistral mlflow tracingPath: third_party/MLflow/mistral-mlflow-tracing.ipynb
Use Cases: Evaluation, RAG
Integrations: Mlflow - langtrace mistralPath: third_party/Langtrace/langtrace_mistral.ipynb
Use Cases:
Integrations: Langtrace - mongodb mistralPath: third_party/MongoDB/mongodb_mistral.ipynb
Use Cases:
Integrations: Mongodb - pinecone ragPath: third_party/Pinecone/pinecone_rag.ipynb
Use Cases: RAG
Integrations: Pinecone - haystack chat with docsPath: third_party/Haystack/haystack_chat_with_docs.ipynb
Use Cases: Documents, RAG
Integrations: Haystack - prompt optimizationPath: third_party/metagpt/prompt_optimization.ipynb
Use Cases: Prompt Engineering
Integrations: MetaGPT - neon text to sqlPath: third_party/Neon/neon_text_to_sql.ipynb
Use Cases: SQL, Database
Integrations: Neon - pdf entity extractionPath: third_party/Indexify/pdf-entity-extraction/pdf-entity-extraction.ipynb
Use Cases: PDF, Summarization
Integrations: Indexify - pdf summarizationPath: third_party/Indexify/pdf-summarization/pdf-summarization.ipynb
Use Cases: PDF, Summarization
Integrations: Indexify - distilabel synthetic dpo datasetPath: third_party/argilla/distilabel_synthetic_dpo_dataset.ipynb
Use Cases: DPO, Synthetic data
Integrations: Argilla, Distilabel - mistral pgsql function callingPath: third_party/MS_Autogen_pgsql/mistral_pgsql_function_calling.ipynb
Use Cases: Function calling
Integrations: Autogen, PostgreSQL, Distilabel - function calling localPath: third_party/Ollama/function_calling_local.ipynb
Use Cases: Function calling, Local
Integrations: Ollama, Distilabel - camel graph ragPath: third_party/CAMEL_AI/camel_graph_rag.ipynb
Use Cases: Graph RAG, RAG
Integrations: Camel - camel roleplaying scraperPath: third_party/CAMEL_AI/camel_roleplaying_scraper.ipynb
Use Cases: Roleplay
Integrations: Camel - pydantic bank support agentPath: third_party/PydanticAI/pydantic_bank_support_agent.ipynb
Use Cases: Agents
Integrations: Pydantic AI - milvus rag french parliamentPath: third_party/Milvus/milvus_rag_french_parliament.ipynb
Use Cases: RAG
Integrations: Milvus - cookbook mistral opentelemetryPath: third_party/openlit/cookbook_mistral_opentelemetry.ipynb
Use Cases:
Integrations: Openlit, Opentelemetry - 02 finetune and evalPath: third_party/wandb/02_finetune_and_eval.ipynb
Use Cases: Finetuning, Evaluation
Integrations: Wandb - READMEPath: concept-deep-dive/tokenization/README.md
Use Cases: Tokenization - mistral finetune apiPath: mistral/fine_tune/mistral_finetune_api.ipynb
Use Cases: Finetuning - embeddingsPath: mistral/embeddings/embeddings.ipynb
Use Cases: Embeddings - dequantizationPath: mistral/embeddings/dequantization.ipynb
Use Cases: Dequantization - code embeddingPath: mistral/embeddings/code_embedding.ipynb
Use Cases: Code embedding - prompting capabilitiesPath: mistral/prompting/prompting_capabilities.ipynb
Use Cases: Prompt Engineering, Classification, Summarization, Personalization, Evaluation - prefix use casesPath: mistral/prompting/prefix_use_cases.ipynb
Use Cases: Prompt Engineering, Prefix - image description prompting pixtralPath: mistral/image_understanding/image_description_prompting_pixtral.ipynb
Use Cases: Vision, Image understanding, Data Extraction - multimodality meets function callingPath: mistral/image_understanding/multimodality_meets_function_calling.ipynb
Use Cases: Vision, Image understanding, Function calling - batch api examplePath: mistral/image_understanding/batch_api_example.ipynb
Use Cases: Vision, Image understanding, Batch - tool usagePath: mistral/ocr/tool_usage.ipynb
Use Cases: OCR, Function calling - batch ocrPath: mistral/ocr/batch_ocr.ipynb
Use Cases: OCR, Batch - data extractionPath: mistral/ocr/data_extraction.ipynb
Use Cases: OCR, Data Extraction, Structured outputs - IndustrialKnowledgeAgentPath: mistral/agents/non_framework/industrial_knowledge_agent/IndustrialKnowledgeAgent.ipynb
Use Cases: Agents - TranscriptToLinearTicketAgentPath: mistral/agents/non_framework/transcript_linearticket_agent/TranscriptToLinearTicketAgent.ipynb
Use Cases: Agents - Multi Agent Workflow For RecruitmentPath: mistral/agents/non_framework/recruitment_agent/Multi_Agent_Workflow_For_Recruitment.ipynb
Use Cases: Agents - parallel subtask agentic workflowPath: mistral/agents/non_framework/agentic_workflows/parallel_subtask_agentic_workflow.ipynb
Use Cases: Agents, Workflow - serial chain agentic workflowPath: mistral/agents/non_framework/agentic_workflows/serial_chain_agentic_workflow.ipynb
Use Cases: Agents, Workflow - Multi Agent Earnings Call Analysis System (MAECAS)Path: mistral/agents/non_framework/earnings_calls/Multi_Agent_Earnings_Call_Analysis_System_(MAECAS).ipynb
Use Cases: Agents - text to SQLPath: mistral/function_calling/text_to_SQL.ipynb
Use Cases: Function calling, Database, SQL - basic RAGPath: mistral/rag/basic_RAG.ipynb
Use Cases: RAG - mistral reference ragPath: mistral/rag/mistral-reference-rag.ipynb
Use Cases: RAG, Reference - product classificationPath: mistral/classifier_factory/product_classification.ipynb
Use Cases: Classification - intent classificationPath: mistral/classifier_factory/intent_classification.ipynb
Use Cases: Classification - moderation classifierPath: mistral/classifier_factory/moderation_classifier.ipynb
Use Cases: Moderation, Classification - evaluationPath: mistral/evaluation/evaluation.ipynb
Use Cases: Evaluation - RAG evaluationPath: mistral/evaluation/RAG_evaluation.ipynb
Use Cases: RAG, Evaluation - synthetic data gen and finetunePath: mistral/data_generation/synthetic_data_gen_and_finetune.ipynb
Use Cases: Synthetic data, Finetuning - data generation refining newsPath: mistral/data_generation/data_generation_refining_news.ipynb
Use Cases: Data generation - moderation exploredPath: mistral/moderation/moderation-explored.ipynb
Use Cases: Moderation - system level guardrailsPath: mistral/moderation/system-level-guardrails.ipynb
Use Cases: Moderation, Guardrails - READMEPath: third_party/E2B_Code_Interpreting/codestral-code-interpreter-js/README.md
Use Cases: Codestral, Code interpreter, Javascript
Integrations: E2B - READMEPath: third_party/E2B_Code_Interpreting/codestral-code-interpreter-python/README.md
Use Cases: Codestral, Code interpreter, Python
Integrations: E2B - READMEPath: third_party/mesop/README.md
Use Cases:
Integrations: Mesop - READMEPath: third_party/streamlit/README.md
Use Cases:
Integrations: Streamlit - READMEPath: third_party/solara/README.md
Use Cases:
Integrations: Solara - READMEPath: third_party/panel/README.md
Use Cases:
Integrations: Panel - READMEPath: third_party/gradio/README.md
Use Cases:
Integrations: Gradio - MistralOCRPath: third_party/gradio/MistralOCR.md
Use Cases: OCR
Integrations: Gradio - READMEPath: third_party/x-cmd/README.md
Use Cases:
Integrations: X-cmd - READMEPath: mistral/agents/agents_api/prd_linear_ticket/README.md
Use Cases: Agents - README.MDPath: mistral/agents/agents_api/food_diet_companion/README.MD
Use Cases: Agents