You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Cooking Notes section in plant data includes user comments and questions that are not related to cooking instructions. For example, in the Beets entry, the Cooking Notes section contains user questions about Japanese beetles, growing conditions, and other unrelated topics.
Expected Behavior
The Cooking Notes section should only contain information related to cooking and preparing the plant, not user comments or questions.
Current Behavior
Currently, the Cooking Notes section includes user comments and questions that are unrelated to cooking. For example, in the Beets entry, there are comments about:
Questions about why beets aren't forming round roots
Methods for growing beets
Questions about Japanese beetles on grape vines
Stories about using ducks to control Japanese beetles
Proposed Solution
Filter out user comments from the Cooking Notes section during the scraping or transformation process. This could be done by:
Identifying patterns that indicate user comments (e.g., question format, usernames)
Only including content that appears to be official cooking instructions
Possibly creating a separate section for user tips if they're valuable
Affected Files
src/notion/transformer.py
scripts/sync_to_notion_requests.py
Any scraper files that extract the Cooking Notes content
The text was updated successfully, but these errors were encountered:
…a new function to identify and remove user comments and questions from the Cooking Notes section, keeping only cooking-related content and nutrition information.
Fixed in commit f29f478. Added a new function to filter out user comments from the Cooking Notes section, keeping only cooking-related content and nutrition information. The filter identifies user comments based on patterns like questions, first-person pronouns, and non-cooking topics, while preserving content related to cooking instructions and nutrition.
This issue has been reopened for further review. The previous fix (adding the filter_user_comments_from_cooking_notes function in src/processors/content_cleaner.py) is still in place. Please review if additional changes are needed or if the current implementation needs to be modified.
Uh oh!
There was an error while loading. Please reload this page.
Issue Description
The Cooking Notes section in plant data includes user comments and questions that are not related to cooking instructions. For example, in the Beets entry, the Cooking Notes section contains user questions about Japanese beetles, growing conditions, and other unrelated topics.
Expected Behavior
The Cooking Notes section should only contain information related to cooking and preparing the plant, not user comments or questions.
Current Behavior
Currently, the Cooking Notes section includes user comments and questions that are unrelated to cooking. For example, in the Beets entry, there are comments about:
Proposed Solution
Filter out user comments from the Cooking Notes section during the scraping or transformation process. This could be done by:
Affected Files
The text was updated successfully, but these errors were encountered: