Conversation
… activities (fixes TheNetsky#603) - Parse Explore on Bing activities dynamically from React Server Component (RSC) flight chunks via Fluent UI design tokens (findTextByClass), completely language-agnostic across all locales - Strip zero-width Unicode characters (\u200B-\u200D, \uFEFF) from titles and descriptions - Introduce offerAdapter to unify ParsedOffer to BasePromotion transformation with safe defaults - Add fallback in DailySet and MorePromotions for RSC-only offers not returned by the legacy dashboard API - Align UrlReward context with /earn (matching bootstrap and router state tree) - Simplify quest completion regex to use universal slash-based task counts without language-specific keywords
…force file permissions
|
Personally, I don’t think implementing an AI model would be sustainable as the user base grows (even if each user gets their own API key), especially due to the limitations of free-tier plans and the increasing consumption of natural resources required to run these models. That said, this is such a cool idea! It would be even better if users could opt to use a self-hosted AI model, so they have full control over how their model responds, and the service can’t suddenly be deactivated because of a company’s TOS or policy changes, like using ollama, instead. |
This is a public DuckDuckGo AI with no API requirement. I have also created a fallback: if the search fails, the failure is logged in failed.json. You can then copy and paste the failed part into your custom.json file and edit the answers as you wish. upd. Ok, that is a fair concern, especially regarding cloud API limits and third-party dependencies. To address this, I have updated the implementation so it is not tied to any single provider:
|
Summary
Adds an opt-in AI-powered search query generator (
experimental.aiQueryGenerator) forSearchOnBingactivities to intelligently handle localized/non-English cards (e.g., German, French, Spanish, etc.) that currently fail due to English-only heuristic parsing.Problem
In
SearchOnBingShared.ts, when a card has no pre-defined queries inbing-search-activity-queries.json, the fallback regex (extractSearchTerm) only strips English keywords (such assearch on bing for,look up,find).When non-English cards appear (for example, German: Title: "Cleverer Bankgeschäfte machen", Description: "Suchen Sie auf Bing, um Optionen für Giro- und Sparkonten zu vergleichen"), the fallback submits the entire verbose sentence into Bing search. Bing rejects verbose sentences and awards 0 points, whereas natural short queries like
"Bestes Sparkonto"or"Girokonto Vergleich"immediately award points.Solution
Disabled by default (
false). Users can enable it inconfig.jsonor via environment variables: