Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

622: remove youtube agent code #706

Merged
merged 13 commits into from
Aug 29, 2024
Merged

Conversation

naknomum
Copy link
Member

PR fixes #622

  • YouTube agent class and properties removed
  • YouTube agent-related code removed from detection/IA code, or otherwise deprecated/disabled
  • additionally many NLP/ML classes which supported YouTube agent removed
  • library removals had minimal effect to TwitterBot, usage was deprecated there

Notably, YouTubeAssetStore is left intact, so that historical data derived from YouTube is still accessible and usable.
This can be addressed later, for example, by "migrating" to standard LocalAssetStore.

@naknomum naknomum marked this pull request as draft August 27, 2024 21:29
@naknomum naknomum marked this pull request as ready for review August 28, 2024 18:57
@@ -306,71 +306,7 @@ public static void executeEmails(Shepherd myShepherd, HttpServletRequest request
}

private void youTubePostback(Encounter enc2add, Shepherd myShepherd, String context) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this being maintained? couldn't we remove all of youTubePostback?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed this, as well as stuff in webapp/WEB-INF/data. i did leave these, as they were the only files without sutime in their names, but likely they can go too. am i 100% sure? no. but close. so i left them.

$ ls -lt src/main/webapp/WEB-INF/data/english-left3words-distsim.tagger*
-rw-rw-r-- 1 jon jon 12409329 Jul 29 16:00 src/main/webapp/WEB-INF/data/english-left3words-distsim.tagger
-rw-rw-r-- 1 jon jon     1522 Jul 29 16:00 src/main/webapp/WEB-INF/data/english-left3words-distsim.tagger.props

Copy link
Member

@TanyaStere42 TanyaStere42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like there stuff here that could be removed as well?
/src/main/webapp/WEB-INF/data

Copy link
Member

@TanyaStere42 TanyaStere42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I only found more to be removed, I didn't find anything using what was removed here. Between that and the fact that this passed QA, I think we're good?

Copy link
Member

@TanyaStere42 TanyaStere42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whoo! 🎉 ✂️

@TanyaStere42 TanyaStere42 merged commit 48c9c99 into dev10.4 Aug 29, 2024
1 check passed
@TanyaStere42 TanyaStere42 deleted the 622_remove_youtube_agent branch August 29, 2024 18:20
@TanyaStere42 TanyaStere42 linked an issue Aug 30, 2024 that may be closed by this pull request
Rodhlann pushed a commit to Rodhlann/Wildbook that referenced this pull request Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove Youtube Intelligent Agent
2 participants