An open API service indexing awesome lists of open source software.

https://github.com/jeffheaton/cabi_genai_automation

Introduction to Automation with LangChain, Generative AI, and Python
https://github.com/jeffheaton/cabi_genai_automation

Last synced: 8 months ago
JSON representation

Introduction to Automation with LangChain, Generative AI, and Python

Awesome Lists containing this project

README

          

# Washington University, Olin School of Business

# [CABI](https://olin.wustl.edu/faculty-and-research/research-centers/center-for-analytics-and-business-insight/index.php): Center for Analytics and Business Insights

- Introduction to Automation with LangChain, Generative AI and Python
- May 14 and 15, 2024

## Getting Started

To obtain needed files clone this repository with the following command:

```
git clone https://github.com/jeffheaton/cabi_genai_automation.git
```

- Make sure to run [install.ipynb](install.ipynb)

## Helpful Links

- [Jeff Heaton](https://www.linkedin.com/in/jeffheaton/), [YouTube](https://youtube.com/@HeatonResearch), [GitHub](https://github.com/jeffheaton)
- [Applications of Generative AI](https://github.com/jeffheaton/app_generative_ai)
- [Applications of Deep Neural Networks](https://github.com/jeffheaton/app_deep_learning)

## Models Used

- amazon.titan-text-lite-v1
- anthropic.claude-3-sonnet-20240229-v1:0
- anthropic.claude-v2:1
- meta.llama3-70b-instruct-v1:0
- mistral.mistral-7b-instruct-v0:2
- stability.stable-diffusion-xl-v1

## Day 1: May 14, 2024
[Day 1 Slides](./slides/cabi-genai-day1.pptx)
- 9:00 AM – Introduction to Generative AI
- 9:30 AM – Getting Started
- Introduction to GenAI
- Prompt Based Development
- [Intro to LangChain](cabi_genai_1_1_langchain.ipynb)
- [Code Generation](cabi_genai_1_2_code.ipynb)
- [Revisions of Code Generation](cabi_genai_1_3_code_revisions.ipynb)
- [Assisted Debugging](cabi_genai_1_4_debugging.ipynb)
- [Software Engineering](cabi_genai_1_5_software_eng.ipynb)
- [Limitations of AI Code Generation](cabi_genai_1_6_code_gen_limit.ipynb)
- 11:30 AM – [Lab 1](cabi_genai_1_lab.ipynb)
- 12:00 PM – Lunch
- 1:00 PM – Resume after lunch
- Introduction to LLM
- [Intro to LLM](cabi_genai_2_1_llm.ipynb)
- [Text Generation](cabi_genai_2_2_text_gen.ipynb)
- [Text Summarization](cabi_genai_2_3_text_summary.ipynb)
- [LLM Writes a Book](cabi_genai_2_4_book.ipynb)
- LangChain and Chat Memory
- [Buffer Limited Memory](cabi_genai_2_6_memory_buffer.ipynb)
- [Token Limited Memory](cabi_genai_2_7_memory_token.ipynb)
- [Memory through Summarization](cabi_genai_2_8_memory_summary.ipynb)
- [Persisting a Chat](cabi_genai_2_9_memory_persist.ipynb)
- 3:00 PM – [Lab 2](cabi_genai_2_lab.ipynb)
- Data Extraction
- [LangChain Data Extraction](cabi_genai_3_1_langchain_data.ipynb)
- [LangChain Parsers](cabi_genai_3_2_parsers.ipynb)
- [Pydantic Validation](cabi_genai_3_3_pydantic.ipynb)
- 5:00 PM – End of day 1

## Day 2: May 15, 2024

- 9:00 AM – AWS Presentation
- 10:00 AM - Corporate ChatBots/1904 Labs
- 11:00 AM - StreamLit
- [Create your own ChatBot App](./chatapp/)
- 11:30 AM - [Lab 3](cabi_genai_3_lab.ipynb)
- 12:00 PM – Lunch
- 1:00 PM - Resume after lunch
- [Text to Image](cabi_genai_4_1_images.ipynb)
- 1:30 PM - [Lab 4](cabi_genai_4_lab.ipynb)
- 2:00 PM - Automation Applications
- [Teaching Assistant](cabi_genai_5_1_prof_answer.ipynb)
- 3:00 PM - Small Large Language Models
- [LLM Studio](https://lmstudio.ai/)
- 5:00 PM – End of day 2