This is a sample of LangGraph, a library for building stateful Multi-Actor applications using LLM and LangChain.
This is a sample for generating blogs using LangGraph.
The structure is as follows:
graph TD;
User-->Supervisor;
Supervisor-->User;
Supervisor-->Researcher;
Researcher-->Supervisor;
Supervisor-->Writer;
Writer-->Supervisor;
Supervisor-->Reviewer;
Reviewer-->Supervisor;
| tools | description |
|---|---|
| LangGraph | library for building stateful, multi-actor applications with LLMs |
| LangChain | framework for developing applications powered by language models |
| OpenAI API | API for accessing new AI models developed by OpenAI |
| SerpAPI | API for fast, easy, and complete scraping from Google and other search engines |
Open the .ipynb file in Google Colab and follow the instructions.
NOTE: OpenAI API and SerpAPI keys must be set to secret.