Skip to content

Latest commit

 

History

History
63 lines (53 loc) · 6.86 KB

README.md

File metadata and controls

63 lines (53 loc) · 6.86 KB

Mistral Cookbook

The Mistral Cookbook features examples contributed by our community and partners. If you have cool examples showcasing Mistral models, feel free to share them by submitting a PR to this repo.

Submission Guidelines:

  • File Format: Please submit your example in the .md or .ipynb format.
  • Runnable on Colab: If you're sharing a notebook example, try to make sure it's runnable on Google Colab.
  • Authorship: Kindly include your name and affiliation at the beginning of the file.
  • Descriptions: Please include your notebook along with its category and descriptions in the table below.
  • Tone: Kindly maintain a neural tone and minimize any excessive marketing materials.
  • Reproducibility: To ensure others can reproduce your work, kindly tag package versions in your code.
  • Image size: If you have images, please make sure each image's size is below 500KB.
  • Copyright: Always respect copyright and intellectual property laws.

Disclaimer: Examples contributed by the community and partners do not represent Mistral's views and opinions.

Content Guidelines:

  • Originality: Is your content original and offering a fresh perspective?
  • Clear: Is your content well-structured and clearly written?
  • Value: Is your content valuable to the community? Does the community need it?

Main Notebooks

Notebook Category Description
quickstart.ipynb chat, embeddings Basic quickstart with chat and embeddings with Mistral AI API
prompting_capabilities.ipynb prompting Write prompts for classification, summarization, personalization, and evaluation
basic_RAG.ipynb RAG RAG from scratch with Mistral AI API
embeddings.ipynb embeddings Use Mistral embeddings API for classification and clustering
function_calling.ipynb function calling Use Mistral API for function calling
evaluation.ipynb evaluation Evaluate models with Mistral API
mistral_finetune_api.ipynb fine-tuning Finetune a model with Mistral fine-tuning API
mistral-search-engine.ipynb RAG, function calling Search engine built with Mistral API, function calling and RAG
prefix_use_cases.ipynb prefix, prompting Cool examples with Mistral's prefix feature

Third Party Tools

Tools Category Party
azure_ai_search_rag.ipynb RAG, embeddings Azure
haystack_chat_with_docs.ipynb RAG, embeddings Haystack
adaptive_rag_mistral.ipynb RAG Langchain
corrective_rag_mistral.ipynb RAG Langchain
langgraph_code_assistant_mistral.ipynb code Langchain
langgraph_crag_mistral.ipynb RAG Langchain
self_rag_mistral.ipynb RAG Langchain
Adaptive_RAG.ipynb RAG LLamaIndex
Agents_Tools.ipynb agent LLamaIndex
llamaindex_agentic_rag.ipynb RAG, agent LLamaIndex
RAG.ipynb RAG LLamaIndex
RouterQueryEngine.ipynb agent LLamaIndex
SubQuestionQueryEngine.ipynb agent LLamaIndex
neon_text_to_sql.ipynb code Neon
Ollama Meetup Demo demo Ollama
function_calling_local.ipynb tool call Ollama
arize_phoenix_tracing.ipynb tracing data Phoenix
pinecone_rag.ipynb RAG Pinecone
Gradio Integration - Chat with PDF demo, RAG Gradio
Panel Integration - Chat with PDF demo, RAG Panel
Streamlit Integration - Chat with PDF demo, RAG Streamlit
distilabel_synthetic_dpo_dataset.ipynb synthetic data Argilla