Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add Azure AI Search Integration with Mistral RAG #38

Merged
merged 10 commits into from
Jun 10, 2024
74 changes: 39 additions & 35 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,53 +3,57 @@
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.
- 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.
- Copyright: Always respect copyright and intellectual property laws.

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

## Content Guidelines:

## 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?
- Value: Is your content valuable to the community? Does the community need it?

## Main Notebooks
Notebook |Category| Description
:- | :-| :-
[quickstart.ipynb](https://github.com/mistralai/cookbook/blob/main/quickstart.ipynb) | chat, embeddings| Basic quickstart with chat and embeddings with Mistral AI API
[prompting_capabilities.ipynb](https://github.com/mistralai/cookbook/blob/main/prompting_capabilities.ipynb) | prompting| Write prompts for classification, summarization, personalization, and evaluation
[basic_RAG.ipynb](https://github.com/mistralai/cookbook/blob/main/basic_RAG.ipynb) | RAG| RAG from scratch with Mistral AI API
[embeddings.ipynb](https://github.com/mistralai/cookbook/blob/main/embeddings.ipynb) | embeddings| Use Mistral embeddings API for classification and clustering
[function_calling.ipynb](https://github.com/mistralai/cookbook/blob/main/function_calling.ipynb) | function calling| Use Mistral API for function calling
[evaluation.ipynb](https://github.com/mistralai/cookbook/blob/main/evaluation.ipynb) | evaluation| Evaluate models with Mistral API
[mistral_finetune_api.ipynb](https://github.com/mistralai/cookbook/blob/main/mistral_finetune_api.ipynb) | fine-tuning| Finetune a model with Mistral fine-tuning API

| Notebook | Category | Description |
| :----------------------------------------------------------------------------------------------------------- | :--------------- | :------------------------------------------------------------------------------- |
| [quickstart.ipynb](https://github.com/mistralai/cookbook/blob/main/quickstart.ipynb) | chat, embeddings | Basic quickstart with chat and embeddings with Mistral AI API |
| [prompting_capabilities.ipynb](https://github.com/mistralai/cookbook/blob/main/prompting_capabilities.ipynb) | prompting | Write prompts for classification, summarization, personalization, and evaluation |
| [basic_RAG.ipynb](https://github.com/mistralai/cookbook/blob/main/basic_RAG.ipynb) | RAG | RAG from scratch with Mistral AI API |
| [embeddings.ipynb](https://github.com/mistralai/cookbook/blob/main/embeddings.ipynb) | embeddings | Use Mistral embeddings API for classification and clustering |
| [function_calling.ipynb](https://github.com/mistralai/cookbook/blob/main/function_calling.ipynb) | function calling | Use Mistral API for function calling |
| [evaluation.ipynb](https://github.com/mistralai/cookbook/blob/main/evaluation.ipynb) | evaluation | Evaluate models with Mistral API |
| [mistral_finetune_api.ipynb](https://github.com/mistralai/cookbook/blob/main/mistral_finetune_api.ipynb) | fine-tuning | Finetune a model with Mistral fine-tuning API |

## Third Party Tools
Tools |Category| Party
:- | :-| :-
[haystack_chat_with_docs.ipynb](https://github.com/mistralai/cookbook/blob/main/third_party/Haystack/haystack_chat_with_docs.ipynb) | RAG, embeddings | Haystack
[adaptive_rag_mistral.ipynb](https://github.com/mistralai/cookbook/blob/main/third_party/Langchain/adaptive_rag_mistral.ipynb) | RAG | Langchain
[corrective_rag_mistral.ipynb](https://github.com/mistralai/cookbook/blob/main/third_party/Langchain/adaptive_rag_mistral.ipynb) | RAG | Langchain
[langgraph_code_assistant.ipynb](https://github.com/mistralai/cookbook/blob/main/third_party/Langchain/langgraph_code_assistant.ipynb) | code| Langchain
[langgraph_crag_mistral.ipynb](https://github.com/mistralai/cookbook/blob/main/third_party/Langchain/langgraph_crag_mistral.ipynb) | RAG | Langchain
[self_rag_mistral.ipynb](https://github.com/mistralai/cookbook/blob/main/third_party/Langchain/self_rag_mistral.ipynb) | RAG | Langchain
[Adaptive_RAG.ipynb](https://github.com/mistralai/cookbook/blob/main/third_party/LlamaIndex/Adaptive_RAG.ipynb) | RAG| LLamaIndex
[Agents_Tools.ipynb](https://github.com/mistralai/cookbook/blob/main/third_party/LlamaIndex/Agents_Tools.ipynb) | agent| LLamaIndex
[llamaindex_agentic_rag.ipynb](https://github.com/mistralai/cookbook/blob/main/third_party/LlamaIndex/llamaindex_agentic_rag.ipynb) | RAG, agent| LLamaIndex
[RAG.ipynb](https://github.com/mistralai/cookbook/blob/main/third_party/LlamaIndex/RAG.ipynb) | RAG| LLamaIndex
[RouterQueryEngine.ipynb](https://github.com/mistralai/cookbook/blob/main/third_party/LlamaIndex/RouterQueryEngine.ipynb) | agent| LLamaIndex
[SubQuestionQueryEngine.ipynb](https://github.com/mistralai/cookbook/blob/main/third_party/LlamaIndex/RouterQueryEngine.ipynb) | agent| LLamaIndex
[neon_text_to_sql.ipynb](https://github.com/mistralai/cookbook/blob/main/third_party/Neon/neon_text_to_sql.ipynb) | code| Neon
[Ollama Meetup Demo](https://github.com/mistralai/cookbook/blob/main/third_party/Ollama/20240321_ollama_meetup) | demo| Ollama
[arize_phoenix_tracing.ipynb](https://github.com/mistralai/cookbook/blob/main/third_party/Phoenix/arize_phoenix_tracing.ipynb) | tracing data| Phoenix
[pinecone_rag.ipynb](https://github.com/mistralai/cookbook/blob/main/third_party/Pinecone/pinecone_rag.ipynb) | RAG| Pinecone
[Gradio Integration - Chat with PDF](https://github.com/mistralai/cookbook/blob/main/third_party/gradio/README.md) | demo, RAG| Gradio
[Panel Integration - Chat with PDF](https://github.com/mistralai/cookbook/blob/main/third_party/panel/README.md) | demo, RAG| Panel
[Streamlit Integration - Chat with PDF](https://github.com/mistralai/cookbook/blob/main/third_party/streamlit/README.md) | demo, RAG| Streamlit

| Tools | Category | Party |
| :----------------------------------------------------------------------------------------------------------------------------------------------- | :-------------- | :--------- |
| [azure_ai_search_rag.ipynb](https://github.com/farzad528/mistralai-cookbook/blob/main/third_party/Azure%20AI%20Search/azure_ai_search_rag.ipynb) | RAG, embeddings | Azure |
| [haystack_chat_with_docs.ipynb](https://github.com/mistralai/cookbook/blob/main/third_party/Haystack/haystack_chat_with_docs.ipynb) | RAG, embeddings | Haystack |
| [adaptive_rag_mistral.ipynb](https://github.com/mistralai/cookbook/blob/main/third_party/Langchain/adaptive_rag_mistral.ipynb) | RAG | Langchain |
| [corrective_rag_mistral.ipynb](https://github.com/mistralai/cookbook/blob/main/third_party/Langchain/adaptive_rag_mistral.ipynb) | RAG | Langchain |
| [langgraph_code_assistant.ipynb](https://github.com/mistralai/cookbook/blob/main/third_party/Langchain/langgraph_code_assistant.ipynb) | code | Langchain |
| [langgraph_crag_mistral.ipynb](https://github.com/mistralai/cookbook/blob/main/third_party/Langchain/langgraph_crag_mistral.ipynb) | RAG | Langchain |
| [self_rag_mistral.ipynb](https://github.com/mistralai/cookbook/blob/main/third_party/Langchain/self_rag_mistral.ipynb) | RAG | Langchain |
| [Adaptive_RAG.ipynb](https://github.com/mistralai/cookbook/blob/main/third_party/LlamaIndex/Adaptive_RAG.ipynb) | RAG | LLamaIndex |
| [Agents_Tools.ipynb](https://github.com/mistralai/cookbook/blob/main/third_party/LlamaIndex/Agents_Tools.ipynb) | agent | LLamaIndex |
| [llamaindex_agentic_rag.ipynb](https://github.com/mistralai/cookbook/blob/main/third_party/LlamaIndex/llamaindex_agentic_rag.ipynb) | RAG, agent | LLamaIndex |
| [RAG.ipynb](https://github.com/mistralai/cookbook/blob/main/third_party/LlamaIndex/RAG.ipynb) | RAG | LLamaIndex |
| [RouterQueryEngine.ipynb](https://github.com/mistralai/cookbook/blob/main/third_party/LlamaIndex/RouterQueryEngine.ipynb) | agent | LLamaIndex |
| [SubQuestionQueryEngine.ipynb](https://github.com/mistralai/cookbook/blob/main/third_party/LlamaIndex/RouterQueryEngine.ipynb) | agent | LLamaIndex |
| [neon_text_to_sql.ipynb](https://github.com/mistralai/cookbook/blob/main/third_party/Neon/neon_text_to_sql.ipynb) | code | Neon |
| [Ollama Meetup Demo](https://github.com/mistralai/cookbook/blob/main/third_party/Ollama/20240321_ollama_meetup) | demo | Ollama |
| [arize_phoenix_tracing.ipynb](https://github.com/mistralai/cookbook/blob/main/third_party/Phoenix/arize_phoenix_tracing.ipynb) | tracing data | Phoenix |
| [pinecone_rag.ipynb](https://github.com/mistralai/cookbook/blob/main/third_party/Pinecone/pinecone_rag.ipynb) | RAG | Pinecone |
| [Gradio Integration - Chat with PDF](https://github.com/mistralai/cookbook/blob/main/third_party/gradio/README.md) | demo, RAG | Gradio |
| [Panel Integration - Chat with PDF](https://github.com/mistralai/cookbook/blob/main/third_party/panel/README.md) | demo, RAG | Panel |
| [Streamlit Integration - Chat with PDF](https://github.com/mistralai/cookbook/blob/main/third_party/streamlit/README.md) | demo, RAG | Streamlit |
Loading