e3d00bb4dc
- Implemented NewsFetcher class to fetch articles from RSS feeds and clean HTML content. - Added EmbeddingGenerator for generating embeddings using Cohere API. - Created VectorStore for storing and retrieving articles using Pinecone. - Developed NewsRecommender for analyzing articles and generating insights with Groq. - Set up FastAPI application with endpoints for fetching news and providing recommendations. - Configured logging for better traceability and debugging. - Updated .gitignore to include environment variables and data directories. - Added requirements.txt for project dependencies.
12 lines
198 B
Plaintext
12 lines
198 B
Plaintext
fastapi==0.109.2
|
|
uvicorn==0.27.1
|
|
feedparser==6.0.10
|
|
cohere==4.47
|
|
pinecone-client==3.0.2
|
|
python-dotenv==1.0.1
|
|
groq==0.4.2
|
|
pydantic==2.6.3
|
|
python-multipart==0.0.9
|
|
httpx==0.27.0
|
|
beautifulsoup4==4.12.3
|