feat: Add Indeed.com crawling and improve crawling prompts - #66
Conversation
| emails: list[str] | ||
| addresses: list[str] | ||
| phone_numbers: list[str] | ||
| description: str | None = Field(description="2-sentence summary, including offerings") |
There was a problem hiding this comment.
Moved into the prompt for extract_supports in Phoenix
There was a problem hiding this comment.
Pull Request Overview
This PR updates prompt versions in the application configuration and removes field-level documentation from the SupportEntry model. The changes appear to be coordinating updates to LLM prompt versions with a simplified schema definition.
- Updated prompt version IDs for
extract_supportsandcrawl_gctaoperations - Added new prompt version for
crawl_indeedoperation - Removed the Field description metadata from the
descriptionfield in SupportEntry
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| app/src/ingestion/support_entry.py | Removed Field description metadata for the description attribute in the SupportEntry model |
| app/src/app_config.py | Updated prompt version IDs for existing operations and added new crawl_indeed prompt configuration |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| addresses: list[str] | ||
| phone_numbers: list[str] | ||
| description: str | None = Field(description="2-sentence summary, including offerings") | ||
| description: str | None |
There was a problem hiding this comment.
The removal of the Field description metadata ('2-sentence summary, including offerings') eliminates important guidance for LLM-based extraction. The SUPPORT_ENTRY_SCHEMA on line 15 uses model_json_schema() which includes field descriptions in the schema. This description helps the LLM understand what type of content to generate for this field. Consider restoring the Field description or documenting why this guidance was removed, especially since the prompt versions are being updated in this same PR.
| description: str | None | |
| description: str | None = Field(description="2-sentence summary, including offerings") |
Ticket
https://navalabs.atlassian.net/browse/DST-1253
Changes
extract_supportsprompt (and update the prompt version)crawl_indeedcrawl_gctato provide a more informative descriptionmakefileto easily update and add crawl jobsContext for reviewers
See ticket
Testing
Preview environment for frontend
♻️ Environment destroyed ♻️
Preview environment for app
♻️ Environment destroyed ♻️