Bugswriter / tuxi

Tuxi is a cli assistant. Get answers of your questions instantly.
GNU General Public License v3.0
1.33k stars 73 forks source link

Purert version #135

Closed PureArtistry closed 3 years ago

PureArtistry commented 3 years ago

added ability to select what snippets to use from the command line and the quotes scrape you mentioned

Bugswriter commented 3 years ago

cool. btw I see lot of code repetition in all your functions. Is there any way of reducing these functions size?

PureArtistry commented 3 years ago

yeah but not by much because of the way they are forked, I am going to re-work te debug info bit wich will shrink a lot of the function

all of the different snippets from all branches and pull requests have now been implemented just need to do a bit of fiddling with the priority to make sure the best answers are the ones spat out first

I am planning on checking the query for keywords while the curl request is processing to only run the appropriate checks. ie; if you search for x song lyrics it only runs the lyrics checks and doesn't bother with math or list checks etc