feat(integrations): add SerpAPI integration + generic handler#259
Open
lev-goryachev wants to merge 1 commit intomainfrom
Open
feat(integrations): add SerpAPI integration + generic handler#259lev-goryachev wants to merge 1 commit intomainfrom
lev-goryachev wants to merge 1 commit intomainfrom
Conversation
Add generic handler to ckit_integrations_db.py so any fi_{name}.py
following the Integration*/PROVIDER_NAME/called_by_model pattern loads
automatically without an explicit elif block.
Add fi_serpapi.py implementing SerpAPI:
- google.v1 — Google Search results
- scholar.v1 — Google Scholar academic search
- news.v1 — Google News
- images.v1 — Google Images
- shopping.v1 — Google Shopping
- maps.v1 — Google Maps local results
- jobs.v1 — Google Jobs
- trends.v1 — Google Trends
e7d44b2 to
cbfebb3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Coverage: 96 method_ids
91 search engines: Amazon, Apple App Store, Baidu, Bing (search/news/images/maps/shopping/videos/copilot/reverse image), DuckDuckGo (search/news/images/maps/search assist), eBay, Facebook Profile, Google (search/scholar/news/images/maps/shopping/jobs/trends/videos/finance/flights/hotels/patents/play/lens/events/local/autocomplete/AI mode/AI overview/...), Home Depot, Naver, OpenTable, TripAdvisor, Walmart, Yahoo (search/images/shopping/videos), Yandex (search/images/videos), Yelp, YouTube
5 utility methods:
Changes
Test plan