This repository contains code snippets and examples from the 100x Applied AI cohort lectures.
The repository includes implementations of:
- LLM Workflows and Patterns
- RAG (Retrieval Augmented Generation)
- Agentic Patterns
- Chat Completions with various providers
- Function Calling
- And more...
- Python 3.8+
- pip
- Clone the repository:
git clone <repository-url>
- Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Environment setup:
- Copy
.env_example
to.env
- Add your API keys and configurations
- Copy
- Prompt Chaining and Orchestration
- Router-based Workflows
- Parallel Processing Patterns
- Code Review Automation
- Evaluation and Optimization
- Different approaches to Retrieval Augmented Generation
- Integration examples
- Implementation of various AI agent patterns
- Agent orchestration examples
- OpenAI integration
- Groq implementation
- Other LLM providers
- Examples of function calling with LLMs
- Real-world use cases
- Model usage examples
- Inference API implementations
agents/
: Various agent implementationspresentation_generator/
: Automated presentation creationnotion_data_integration/
: Notion API integration examplesapi/
: FastAPI-based endpointsauth/
: Authentication implementationslangchain/
: LangChain usage examples
Each directory contains specific examples and implementations. Refer to individual README files within each directory for detailed usage instructions.
- Check the
prompts/
directory for various prompt engineering examples - See
llm_workflows/README.md
for detailed workflow patterns - Explore individual directories for specific implementation details
Required environment variables (add to .env
):
- OpenAI API keys
- Hugging Face API tokens
- Other provider credentials as needed
Feel free to contribute by:
- Forking the repository
- Creating a feature branch
- Submitting a pull request
This project is licensed under the terms specified in the LICENSE file.