Skip to content

Commit

Permalink
Merge pull request #38 from farzad528/main
Browse files Browse the repository at this point in the history
feat: add Azure AI Search Integration with Mistral RAG
  • Loading branch information
sophiamyang committed Jun 10, 2024
2 parents 5eedded + ff1e4ab commit e8726ed
Show file tree
Hide file tree
Showing 2 changed files with 676 additions and 35 deletions.
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

0 comments on commit e8726ed

Please sign in to comment.