neomatrix369 / learning-path-index

A repo with data files, assets and code supporting and powering the Learning Path Index Project
MIT License
15 stars 16 forks source link

Updating llm_poc_variant_01 README #80

Closed asvcode closed 1 week ago

asvcode commented 3 weeks ago

minor updates of running this on a Windows machine and how to set OLLAMA_HOST

Summary by Sourcery

Enhance the Google Cloud Skill Boost scraper with improved error handling and user input for URLs. Update the llm_poc_variant_01 README with Windows-specific instructions and environment variable settings.

Enhancements:

Documentation:

sourcery-ai[bot] commented 3 weeks ago

Reviewer's Guide by Sourcery

This pull request updates the README.md file in the llm_poc_variant_01 project and makes improvements to the scrape_journey.py and lpiGPT.py files. The changes focus on enhancing error handling, adding Windows-specific instructions, and improving code robustness.

File-Level Changes

Change Details Files
Improved error handling and robustness in the extract_ml_learning_path function
  • Added try-except blocks to handle potential IndexErrors when extracting journey details and links
  • Provided default values for missing data
  • Moved the function call and CSV writing into a main block with error handling
app/course-scraper/src/scrapers/google_cloud_skill_boost/scrape_journey.py
Updated README with Windows-specific instructions and additional setup information
  • Added requirement for Microsoft Visual C++ 14.0 or greater on Windows
  • Included instructions for setting the OLLAMA_HOST environment variable
  • Added information about potential sqlite3 version issues
app/llm-poc-variant-01/README.md
Minor code formatting and comment updates in lpiGPT.py
  • Removed trailing whitespaces
  • Adjusted line breaks in multi-line strings
app/llm-poc-variant-01/lpiGPT.py

Sequence Diagram

No sequence diagram generated.


Tips - Trigger a new Sourcery review by commenting `@sourcery-ai review` on the pull request. - Continue your discussion with Sourcery by replying directly to review comments. - You can change your review settings at any time by accessing your [dashboard](https://app.sourcery.ai): - Enable or disable the Sourcery-generated pull request summary or reviewer's guide; - Change the review language; - You can always [contact us](mailto:support@sourcery.ai) if you have any questions or feedback.
asvcode commented 1 week ago

@neomatrix369 This is for updating the README, I checked the other changes and will resolve via the individual commits. Thanks