Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion 26.multiple-llm-providers-with-litellm.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,20 @@
"print(textwrap.fill(response.choices[0].message.content, 120))"
]
},
{
"cell_type": "code",
"source": "%%time\n\nimport os\n\nresponse = completion(\n model=\"openai/MiniMax-M2.7\",\n messages=[{\"content\": PROMPT, \"role\": \"user\"}],\n api_base=\"https://api.minimax.io/v1\",\n api_key=os.environ.get(\"MINIMAX_API_KEY\"),\n temperature=0.1,\n)",
"metadata": {},
"execution_count": null,
"outputs": []
},
{
"cell_type": "code",
"source": "print(textwrap.fill(response.choices[0].message.content, 120))",
"metadata": {},
"execution_count": null,
"outputs": []
},
{
"cell_type": "markdown",
"metadata": {
Expand Down Expand Up @@ -819,4 +833,4 @@
},
"nbformat": 4,
"nbformat_minor": 0
}
}
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,15 @@ Build the future of automation. Design intelligent agents that can reason, plan,
| Teamwork Makes the Dream Work - Build Agentic Workflow | Build an agentic workflow that analyzes Reddit posts and generates a report based on the analysis. All using only local models. | [Read](https://www.mlexpert.io/academy/v1/ai-agents/build-agentic-workflow) | [Watch](https://www.youtube.com/watch?v=dVf1z2BDVtI) |
| Thinking and Acting - Build an AI Agent | Build an AI agent that lets you to talk to your database. Working with a local LLM using LangChain and Ollama. | [Read](https://www.mlexpert.io/academy/v1/ai-agents/build-ai-agent) | [Watch](https://www.youtube.com/watch?v=ay_sYadoxgk) |
| Chat With Your Data - A Local MCP AI Agent | Build a secure, local-first AI agent that can chat with your files. This tutorial uses the Model Context Protocol (MCP), LangGraph, and Streamlit to create a powerful personal knowledge manager. | [Read](https://www.mlexpert.io/academy/v1/ai-agents/build-mcp-agent) | [Watch](https://www.youtube.com/watch?v=ZkMlWwgiFGw) |
| Agentic RAG - Building an AI Financial Analyst Team | Build a multi-agent system with LangGraph that dynamically plans and retrieves financial data from stock APIs and SEC filings to answer complex questions, moving beyond simple RAG pipelines. | [Read](https://www.mlexpert.io/academy/v1/ai-agents/agentic-rag) | |
| Agentic RAG - Building an AI Financial Analyst Team | Build a multi-agent system with LangGraph that dynamically plans and retrieves financial data from stock APIs and SEC filings to answer complex questions, moving beyond simple RAG pipelines. | [Read](https://www.mlexpert.io/academy/v1/ai-agents/agentic-rag) | |

## Model Explorations

Hands-on notebooks for exploring specific LLM providers and models.

| Model | Description | Notebook |
| ----- | ----------- | -------- |
| GPT-4o | OpenAI's multimodal model - text generation, vision, streaming, JSON output, and tool calling | [Open](gpt-4o.ipynb) |
| DeepSeek R1 | DeepSeek's reasoning model via Ollama - lyrics, coding, labeling, summarization, and structured data extraction | [Open](deepseek-r1.ipynb) |
| MiniMax M2.7 | MiniMax's 204K context model via OpenAI-compatible API - text generation, streaming, structured output, tool calling, and data labelling | [Open](minimax-m2.7.ipynb) |
| Multiple Providers with LiteLLM | Use OpenAI, Gemini, and MiniMax through a single unified interface with litellm | [Open](26.multiple-llm-providers-with-litellm.ipynb) |
Loading