https://github.com/jhaayush2004/newsagent-crewai
A robust news generation pipeline utilizing advanced language models and agent-based techniques to deliver high-quality, informative content on diverse topics.
https://github.com/jhaayush2004/newsagent-crewai
agents crewai gemini-flash google-ai-studio langchain python
Last synced: 2 months ago
JSON representation
A robust news generation pipeline utilizing advanced language models and agent-based techniques to deliver high-quality, informative content on diverse topics.
- Host: GitHub
- URL: https://github.com/jhaayush2004/newsagent-crewai
- Owner: jhaayush2004
- License: mit
- Created: 2024-08-29T19:32:11.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-08-29T19:45:43.000Z (9 months ago)
- Last Synced: 2025-03-28T07:13:19.961Z (2 months ago)
- Topics: agents, crewai, gemini-flash, google-ai-studio, langchain, python
- Language: Python
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CrewAI News Generation Pipeline
## Overview:This project implements a robust news generation pipeline using the Crew AI framework and Google's powerful language models. The pipeline leverages the strengths of both to create high-quality news articles on various topics.
## Components:
- **Agents**:
News Researcher: Responsible for gathering relevant information, data, and insights on a given topic.
News Writer: Utilizes the research findings to craft compelling and informative news articles.- **Research Task**: Involves data collection, analysis, and synthesis of information from various sources.
- **Write Task**: Focuses on crafting well-structured, grammatically correct, and engaging articles based on the research findings.
- **Crew**: Coordinates the agents and tasks, ensuring efficient execution of the pipeline.## Workflow:
1. **Topic Input**: The pipeline receives a topic as input.
2. **Research Task**: The News Researcher agent is assigned the Research Task.
- The agent uses web scraping, API calls, or other relevant techniques to gather information from various sources.
- Data is cleaned, analyzed, and synthesized to extract key insights.3. **Research Findings**: The News Researcher agent provides the research findings to the News Writer agent.
4. **Write Task**: The News Writer agent is assigned the Write Task.
The agent uses the research findings to craft a well-structured and informative article.
The article is formatted, edited, and proofread for clarity and coherence.5. **Output**: The final news article is generated and made available.
## Technical Details:
- **Language Model**: Google's Gemini 1.5 Flash model is used for natural language generation and understanding.
- **Custom Tools**: The pipeline can be extended with custom tools for specific tasks, such as interacting with databases, APIs, or specialized data sources.
- **Crew AI Framework**: Provides a structured approach for managing agents, tasks, and their interactions.
- **Python**: The pipeline is implemented using Python, leveraging its versatility and extensive libraries.