24 Commits

Author SHA1 Message Date
271ede7845 Enhance AI processor error logging for better debugging 2026-02-02 10:56:10 -06:00
876cfddce7 Fix AI processor error handling for empty AI service responses 2026-02-02 10:52:34 -06:00
e29e5dbc76 Remove file extension filtering - all files in articles directory are valid articles 2026-02-02 10:38:35 -06:00
492b30a713 Fix cache manager to properly handle empty cache files and add diagnostic logging 2026-02-02 10:35:55 -06:00
35d8f44ee8 Fix cache logic bug that caused all files to be incorrectly marked as processed 2026-02-02 10:17:06 -06:00
218cad82cc Fix cache file creation and validation issues - ensure cache file is properly created and handled 2026-02-02 10:02:59 -06:00
b8228d8e07 Fix pathing issue for article directory - use relative path ../scraper/articles 2026-02-02 09:55:24 -06:00
ad2ef2a87b Remove cache file from version control, fix cache initialization logic 2026-02-02 09:50:42 -06:00
e9c66da456 Fix AI processor cache initialization issue and create empty cache file 2026-02-02 09:47:35 -06:00
abb63db4b7 enhancement: Make article processor more robust with multiple path support and fallback file format detection 2026-02-02 09:31:14 -06:00
ba8f24fcbd fix: Update scraper directory path for Docker container compatibility and add debugging 2026-02-02 09:27:02 -06:00
0b82bb13c4 fix: Handle missing cache_stats key in logging to prevent KeyError 2026-02-02 09:24:02 -06:00
e7b31a510a fix: Complete removal of relative imports to resolve Docker container issues 2026-02-02 09:20:44 -06:00
5c47f6c235 fix: Resolve Docker import errors and relative import issues 2026-02-02 09:05:53 -06:00
e641a935a7 fix: Remove logging from requirements.txt due to Docker build error 2026-02-02 08:58:40 -06:00
714f5380e7 feat: Implement AI processor with fact extraction capabilities for articles from scraper 2026-02-02 08:53:58 -06:00
cb6c42fa65 gutting old ai_processor code that's not usful 2026-02-02 08:34:48 -06:00
68704b6edd Add API key authentication for AI service connections 2026-02-02 04:29:50 -06:00
da03b3e847 Clean up requirements files and remove unnecessary dependencies including PyTorch 2026-02-01 21:11:22 -06:00
157e4541fc Implement enhanced cache system with batch processing and two-phase processing approach 2026-02-01 21:03:00 -06:00
56231fa354 feat: Implement automated cron job setup for embedding pipeline and clean up AI processor fact extraction logic
• Created automated setup_embedding_cron_auto.sh script that fully configures cron jobs without manual intervention

• Enhanced embedding pipeline logging and error handling

• Simplified AI processor to focus on core fact extraction functionality

• Added proper logging to all scripts for better monitoring
2026-02-01 20:39:07 -06:00
f32902e894 New Readmes, cleaned reqs.txt, fixed multithreading issue, and commenting out aiserver and embedder until more testing done 2025-10-17 09:53:15 -05:00
c534c5a159 user/jarian/addingScraperDocker (#2)
This fully implements the Stock Docs Project with full Docker Containerization support. This is a working prototype that is actively running on the Media Server. There's a few issues noted, including the following:
- Support for some sites could be improved. Reuters has many articles behind an adblock and some websites present banners that don't need to be processed by our AI engine
- Some caching could be smarter. As the size of files grows, it will get expensive to search through all files to be sure we've not scraped it, ai proccessed it or embedded it.
- Logging could be improved to be much better than just print statements and telemetry could be sent for dashboard monitoring if this were ever to become a full service where we cared about reliability.
- MCP server has been noted to return some poorly matching results. Would be better if it returned nothing at all. And should never really return banners or ads as that provides awful input for the model. Perhaps the model could be told to not care about this, but it's better to just never show irrelevant info to the model

I think this is an overall really good jumping off point, and we've already gotten to see the max capabilities of our system so far. It's a major win to have the Scraper for instance running at all times getting articles from across the web. I look forward to expending this scraper in the near future for projects like scraping all local news websites in the US or general scraping and monitoring of websites.

Co-authored-by: Jarian Cottingham <jariancottingham@dev-machine.local>
Co-authored-by: jarianc <user@example.com>
Reviewed-on: http://git.example.com/jarianc/StockDocs/pulls/2
2025-07-16 01:06:34 -05:00
cd67adaae4 Initial Commit 2025-07-05 05:35:29 +00:00