This little GitHub repository aims to provide very basic cookbook recipes for LLMs.
The aim is to explore the 'multiverse' of LLM land where there are many different tools that handle similar tasks (perfect competitors), each with its own pros and cons. Feel free to request for an article!
Basic Langchain Recipes for LLMs (up to creating a single agent)- Done!Basic Haystack Recipe for LLMs (up to creating a single agent)- Done!Basic LlamaIndex Recipe for LLMs (up to creating a single agent)- Done!Basic Langgraph Multi Agent Recipes (building a personal assistant)- Done!Basic Autogen Multi Agent Recipes (building a stock assistant)- Done!Basic LlamaIndex Multi Agent Recipes- Done!- Basic crewAI Mult Agent Recipes - Upcoming
- A gentle introduction to the LLM Multiverse (Part 1): Langchain
- A gentle introduction to the LLM Multiverse (Part 2): Haystack
- A gentle introduction to the LLM Multiverse (Part 3): LlamaIndex
- A gentle introduction to the LLM Multi-Agents Multiverse (Part 1): Langgraph
- A gentle introduction to the LLM Multi-Agent Multiverse (Part 2): Autogen
- A gentle introduction to the LLM Multi-Agent Multiverse (Part 3a): LlamaIndex Workflows
- A gentle introduction to the LLM Multi-Agent Multiverse (Part 3b): Deploying LlamaIndex Workflows
Note that each folder has its own requirements.txt! This is in the event of version conflicts - for example LlamaIndex and Langchain have moved to pydantic v2 but not all the LLM libraries have done the same!
.
├── Autogen
│ ├── notebooks
│ ├── stock_analysis.ipynb <- Code book for autogen stock analyst app
│ ├── blogs <- Python scripts generated by Autogen's command line executor
│ ├── report.md <- Final report generated
│ ├── requirements.txt <- Requirements.txt for Autogen code
│ ├── AutogenStudio <- Snapshots of AutogenStudio executions
├── Haystack
│ ├── notebooks
│ ├── the_basics.ipynb <- Basic recipes for Haystack (up to RAG)
│ ├── requirements.txt <- Requirements.txt for Haystack recipe
├── Langchain
│ ├── notebooks
│ ├── the_basics.ipynb <- Basic recipes for Langchain (up to single agents)
│ ├── langgraph.ipynb <- Code book for Langgraph personal assistant app
│ ├── langgraph_studio <- Files for loading into the Langgraph Studio software
│ ├── requirements.txt <- Requirements.txt for LangChain and Langgraph codes
├── LlamaIndex
│ ├── App
│ ├── backend <- Llama Deploy backend
│ ├── frontend <- Chainlit frontend for self discovery app
│ ├── notebooks
│ ├── 1. the_basics.ipynb <- Basic recipes for LlamaIndex (up to single agents)
│ ├── 2. workflow.ipynb <- Basic recipes for LlamaIndex Workflows
│ ├── 3. deployment.ipynb <- Basic recipes for LlamaIndex Workflow HITL and deployment
│ ├── requirements.txt <- Requirements.txt for LlamaIndex recipes
├── data <- Folder containing data sets for recipes
│ ├── paul_graham
│ |── paul_graham_essay.txt <- txt file for RAG