Reach out

Cookbook

Practical examples and tutorials for Mistral AI models.

Featured

Latest

All Cookbooks (94)

  • hubspot dynamic multi agent system
    Path: mistral/agents/non_framework/hubspot_dynamic_multi_agent/hubspot_dynamic_multi_agent_system.ipynb
    Use Cases: Agents
  • README
    Path: mistral/agents/agents_api/financial_analyst/README.md
    Use Cases: Agents
  • RAG via function calling
    Path: mistral/rag/RAG_via_function_calling.ipynb
    Use Cases: RAG, Function calling
  • function calling
    Path: mistral/function_calling/function_calling.ipynb
    Use Cases: Function calling
  • README
    Path: mistral/agents/agents_api/github_agent/README.md
    Use Cases: Agents, Github
  • document understanding
    Path: mistral/ocr/document_understanding.ipynb
    Use Cases: OCR, Documents, RAG
  • pixtral finetune on satellite data
    Path: mistral/fine_tune/pixtral_finetune_on_satellite_data.ipynb
    Use Cases: Pixtral, Finetuning
  • cookbook langfuse mistral sdk integration
    Path: third_party/Langfuse/cookbook_langfuse_mistral_sdk_integration.ipynb
    Use Cases:
    Integrations: Langfuse
  • cookbook langfuse posthog llama langfuse
    Path: third_party/Langfuse/cookbook_langfuse_posthog_llama_langfuse.ipynb
    Use Cases:
    Integrations: Langfuse
  • azure ai search rag
    Path: third_party/Azure_AI_Search/azure_ai_search_rag.ipynb
    Use Cases: Search, RAG
    Integrations: Azure
  • neo4j rag
    Path: third_party/Neo4j/neo4j_rag.ipynb
    Use Cases: RAG
    Integrations: Neo4j
  • llamaindex mistral multi modal
    Path: third_party/LlamaIndex/llamaindex_mistral_multi_modal.ipynb
    Use Cases: Multimodal, Vision
    Integrations: Llamaindex
  • SubQuestionQueryEngine
    Path: third_party/LlamaIndex/SubQuestionQueryEngine.ipynb
    Use Cases: Agents, RAG
    Integrations: Llamaindex
  • llamaindex arxiv agentic rag with observability
    Path: third_party/LlamaIndex/llamaindex_arxiv_agentic_rag_with_observability.ipynb
    Use Cases: Agents, RAG, Observability
    Integrations: Llamaindex
  • RouterQueryEngine
    Path: third_party/LlamaIndex/RouterQueryEngine.ipynb
    Use Cases: Query Engine
    Integrations: Llamaindex
  • llamaindex mistralai finetuning
    Path: third_party/LlamaIndex/llamaindex_mistralai_finetuning.ipynb
    Use Cases: Finetuning
    Integrations: Llamaindex
  • ollama mistral llamaindex
    Path: third_party/LlamaIndex/ollama_mistral_llamaindex.ipynb
    Use Cases:
    Integrations: Llamaindex, Ollama
  • llamaindex agentic rag
    Path: third_party/LlamaIndex/llamaindex_agentic_rag.ipynb
    Use Cases: Agents, RAG
    Integrations: Llamaindex
  • llamaindex arxiv agentic rag
    Path: third_party/LlamaIndex/llamaindex_arxiv_agentic_rag.ipynb
    Use Cases: Agents, RAG
    Integrations: Llamaindex
  • RAG
    Path: third_party/LlamaIndex/RAG.ipynb
    Use Cases: RAG
    Integrations: Llamaindex
  • Adaptive RAG
    Path: third_party/LlamaIndex/Adaptive_RAG.ipynb
    Use Cases: Adaptive RAG, RAG
    Integrations: Llamaindex
  • property graph predefined schema
    Path: third_party/LlamaIndex/propertygraphs/property_graph_predefined_schema.ipynb
    Use Cases: Property graph
    Integrations: Llamaindex
  • property graph custom retriever
    Path: third_party/LlamaIndex/propertygraphs/property_graph_custom_retriever.ipynb
    Use Cases: Property graph, Custom retrieve
    Integrations: Llamaindex
  • property graph extractors retrievers
    Path: third_party/LlamaIndex/propertygraphs/property_graph_extractors_retrievers.ipynb
    Use Cases: Property graph
    Integrations: Llamaindex
  • property graph
    Path: third_party/LlamaIndex/propertygraphs/property_graph.ipynb
    Use Cases: Property graph
    Integrations: Llamaindex
  • property graph neo4j
    Path: third_party/LlamaIndex/propertygraphs/property_graph_neo4j.ipynb
    Use Cases: Property graph
    Integrations: Neo4j
  • codestral code interpreter
    Path: third_party/E2B_Code_Interpreting/codestral-code-interpreter-python/codestral_code_interpreter.ipynb
    Use Cases: Python code interpreter, Codestral
    Integrations: E2B
  • Chainlit Mistral reasoning
    Path: third_party/Chainlit/Chainlit_Mistral_reasoning.ipynb
    Use Cases: Reasoning
    Integrations: Chainlit
  • incremental prompt engineering and model comparison
    Path: third_party/Pixeltable/incremental_prompt_engineering_and_model_comparison.ipynb
    Use Cases: Prompt Engineering
    Integrations: Pixeltable
  • langgraph code assistant mistral
    Path: third_party/langchain/langgraph_code_assistant_mistral.ipynb
    Use Cases: Code assistant
    Integrations: Langchain, Langgraph
  • adaptive rag mistral
    Path: third_party/langchain/adaptive_rag_mistral.ipynb
    Use Cases: Adaptive RAG, RAG
    Integrations: Langchain
  • cookbook maxim mistral integration
    Path: third_party/Maxim/cookbook_maxim_mistral_integration.ipynb
    Use Cases:
    Integrations: Maxim
  • arize phoenix tracing
    Path: third_party/Phoenix/arize_phoenix_tracing.ipynb
    Use Cases: Tracing
    Integrations: Phoenix, Arize
  • arize phoenix evaluate rag
    Path: third_party/Phoenix/arize_phoenix_evaluate_rag.ipynb
    Use Cases: Evaluation, RAG
    Integrations: Phoenix, Arize
  • mistral mlflow tracing
    Path: third_party/MLflow/mistral-mlflow-tracing.ipynb
    Use Cases: Evaluation, RAG
    Integrations: Mlflow
  • langtrace mistral
    Path: third_party/Langtrace/langtrace_mistral.ipynb
    Use Cases:
    Integrations: Langtrace
  • mongodb mistral
    Path: third_party/MongoDB/mongodb_mistral.ipynb
    Use Cases:
    Integrations: Mongodb
  • pinecone rag
    Path: third_party/Pinecone/pinecone_rag.ipynb
    Use Cases: RAG
    Integrations: Pinecone
  • haystack chat with docs
    Path: third_party/Haystack/haystack_chat_with_docs.ipynb
    Use Cases: Documents, RAG
    Integrations: Haystack
  • prompt optimization
    Path: third_party/metagpt/prompt_optimization.ipynb
    Use Cases: Prompt Engineering
    Integrations: MetaGPT
  • neon text to sql
    Path: third_party/Neon/neon_text_to_sql.ipynb
    Use Cases: SQL, Database
    Integrations: Neon
  • pdf entity extraction
    Path: third_party/Indexify/pdf-entity-extraction/pdf-entity-extraction.ipynb
    Use Cases: PDF, Summarization
    Integrations: Indexify
  • pdf summarization
    Path: third_party/Indexify/pdf-summarization/pdf-summarization.ipynb
    Use Cases: PDF, Summarization
    Integrations: Indexify
  • distilabel synthetic dpo dataset
    Path: third_party/argilla/distilabel_synthetic_dpo_dataset.ipynb
    Use Cases: DPO, Synthetic data
    Integrations: Argilla, Distilabel
  • mistral pgsql function calling
    Path: third_party/MS_Autogen_pgsql/mistral_pgsql_function_calling.ipynb
    Use Cases: Function calling
    Integrations: Autogen, PostgreSQL, Distilabel
  • function calling local
    Path: third_party/Ollama/function_calling_local.ipynb
    Use Cases: Function calling, Local
    Integrations: Ollama, Distilabel
  • camel graph rag
    Path: third_party/CAMEL_AI/camel_graph_rag.ipynb
    Use Cases: Graph RAG, RAG
    Integrations: Camel
  • camel roleplaying scraper
    Path: third_party/CAMEL_AI/camel_roleplaying_scraper.ipynb
    Use Cases: Roleplay
    Integrations: Camel
  • pydantic bank support agent
    Path: third_party/PydanticAI/pydantic_bank_support_agent.ipynb
    Use Cases: Agents
    Integrations: Pydantic AI
  • milvus rag french parliament
    Path: third_party/Milvus/milvus_rag_french_parliament.ipynb
    Use Cases: RAG
    Integrations: Milvus
  • cookbook mistral opentelemetry
    Path: third_party/openlit/cookbook_mistral_opentelemetry.ipynb
    Use Cases:
    Integrations: Openlit, Opentelemetry
  • 02 finetune and eval
    Path: third_party/wandb/02_finetune_and_eval.ipynb
    Use Cases: Finetuning, Evaluation
    Integrations: Wandb
  • README
    Path: concept-deep-dive/tokenization/README.md
    Use Cases: Tokenization
  • mistral finetune api
    Path: mistral/fine_tune/mistral_finetune_api.ipynb
    Use Cases: Finetuning
  • embeddings
    Path: mistral/embeddings/embeddings.ipynb
    Use Cases: Embeddings
  • dequantization
    Path: mistral/embeddings/dequantization.ipynb
    Use Cases: Dequantization
  • code embedding
    Path: mistral/embeddings/code_embedding.ipynb
    Use Cases: Code embedding
  • prompting capabilities
    Path: mistral/prompting/prompting_capabilities.ipynb
    Use Cases: Prompt Engineering, Classification, Summarization, Personalization, Evaluation
  • prefix use cases
    Path: mistral/prompting/prefix_use_cases.ipynb
    Use Cases: Prompt Engineering, Prefix
  • image description prompting pixtral
    Path: mistral/image_understanding/image_description_prompting_pixtral.ipynb
    Use Cases: Vision, Image understanding, Data Extraction
  • multimodality meets function calling
    Path: mistral/image_understanding/multimodality_meets_function_calling.ipynb
    Use Cases: Vision, Image understanding, Function calling
  • batch api example
    Path: mistral/image_understanding/batch_api_example.ipynb
    Use Cases: Vision, Image understanding, Batch
  • tool usage
    Path: mistral/ocr/tool_usage.ipynb
    Use Cases: OCR, Function calling
  • batch ocr
    Path: mistral/ocr/batch_ocr.ipynb
    Use Cases: OCR, Batch
  • data extraction
    Path: mistral/ocr/data_extraction.ipynb
    Use Cases: OCR, Data Extraction, Structured outputs
  • IndustrialKnowledgeAgent
    Path: mistral/agents/non_framework/industrial_knowledge_agent/IndustrialKnowledgeAgent.ipynb
    Use Cases: Agents
  • TranscriptToLinearTicketAgent
    Path: mistral/agents/non_framework/transcript_linearticket_agent/TranscriptToLinearTicketAgent.ipynb
    Use Cases: Agents
  • Multi Agent Workflow For Recruitment
    Path: mistral/agents/non_framework/recruitment_agent/Multi_Agent_Workflow_For_Recruitment.ipynb
    Use Cases: Agents
  • parallel subtask agentic workflow
    Path: mistral/agents/non_framework/agentic_workflows/parallel_subtask_agentic_workflow.ipynb
    Use Cases: Agents, Workflow
  • serial chain agentic workflow
    Path: 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 SQL
    Path: mistral/function_calling/text_to_SQL.ipynb
    Use Cases: Function calling, Database, SQL
  • basic RAG
    Path: mistral/rag/basic_RAG.ipynb
    Use Cases: RAG
  • mistral reference rag
    Path: mistral/rag/mistral-reference-rag.ipynb
    Use Cases: RAG, Reference
  • product classification
    Path: mistral/classifier_factory/product_classification.ipynb
    Use Cases: Classification
  • intent classification
    Path: mistral/classifier_factory/intent_classification.ipynb
    Use Cases: Classification
  • moderation classifier
    Path: mistral/classifier_factory/moderation_classifier.ipynb
    Use Cases: Moderation, Classification
  • evaluation
    Path: mistral/evaluation/evaluation.ipynb
    Use Cases: Evaluation
  • RAG evaluation
    Path: mistral/evaluation/RAG_evaluation.ipynb
    Use Cases: RAG, Evaluation
  • synthetic data gen and finetune
    Path: mistral/data_generation/synthetic_data_gen_and_finetune.ipynb
    Use Cases: Synthetic data, Finetuning
  • data generation refining news
    Path: mistral/data_generation/data_generation_refining_news.ipynb
    Use Cases: Data generation
  • moderation explored
    Path: mistral/moderation/moderation-explored.ipynb
    Use Cases: Moderation
  • system level guardrails
    Path: mistral/moderation/system-level-guardrails.ipynb
    Use Cases: Moderation, Guardrails
  • README
    Path: third_party/E2B_Code_Interpreting/codestral-code-interpreter-js/README.md
    Use Cases: Codestral, Code interpreter, Javascript
    Integrations: E2B
  • README
    Path: third_party/E2B_Code_Interpreting/codestral-code-interpreter-python/README.md
    Use Cases: Codestral, Code interpreter, Python
    Integrations: E2B
  • README
    Path: third_party/mesop/README.md
    Use Cases:
    Integrations: Mesop
  • README
    Path: third_party/streamlit/README.md
    Use Cases:
    Integrations: Streamlit
  • README
    Path: third_party/solara/README.md
    Use Cases:
    Integrations: Solara
  • README
    Path: third_party/panel/README.md
    Use Cases:
    Integrations: Panel
  • README
    Path: third_party/gradio/README.md
    Use Cases:
    Integrations: Gradio
  • MistralOCR
    Path: third_party/gradio/MistralOCR.md
    Use Cases: OCR
    Integrations: Gradio
  • README
    Path: third_party/x-cmd/README.md
    Use Cases:
    Integrations: X-cmd
  • README
    Path: mistral/agents/agents_api/prd_linear_ticket/README.md
    Use Cases: Agents
  • README.MD
    Path: mistral/agents/agents_api/food_diet_companion/README.MD
    Use Cases: Agents