This project leverages the power of CrewAI, Langchain, and Google GenAI to create a dynamic and interactive AI blog writer. The AI uses agents to perform research and generate engaging blog posts on topics specified by the user.
- Agent-Based Framework: Utilizes CrewAI to manage agents for different tasks.
- Customizable Topics: Allows users to input any topic for the AI to research and write about.
- Multi-Phase Workflow: Separates research and writing into distinct phases for better results.
- Seamless Integration: Combines the strengths of Langchain and Google GenAI for advanced language model capabilities.
First, install the necessary dependencies:
pip install crewai langchain langchain_google-genai
To generate a blog post on your chosen topic, run the script:
python ai_blog_writer.py
The script will prompt you to enter a topic. After entering the topic, it will initiate the research and writing process.
-Topic: "The Future of AI"
-Research Phase: The AI agent will gather the latest research and developments in AI technology.
-Writing Phase: The AI will produce a blog post that is both informative and engaging, with a humorous twist on future possibilities.
-Topic: "Benefits of a Balanced Diet"
-Research Phase: The AI agent will compile scientific studies and expert opinions on balanced diets.
-Writing Phase: The AI will create a blog post that educates readers on the benefits while keeping the tone light and relatable.
-Topic: "Top 10 Destinations for 2024"
-Research Phase: The AI agent will research trending travel destinations and gather tips from travel experts.
-Writing Phase: The AI will write an exciting blog post that inspires readers to plan their next adventure.
We welcome contributions! If you have ideas for new features or improvements, please submit a Pull Request.
This project is licensed under the MIT License.
-CrewAI for the powerful agent framework.
-Langchain for seamless language model integration.
-Google GenAI for advanced language model capabilities.
Feel free to reach out if you have any questions or suggestions! Happy blogging! ✨