You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org
Analytics/Alexa: Difference between revisions
imported>Nuria No edit summary |
imported>Nintendofan885 No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Meeting notes | Meeting notes | ||
Attendees: Nuria | Attendees: | ||
*[[User:Nuria|Nuria]] | |||
*David Hardcastle from Alexa | |||
Line 6: | Line 8: | ||
=== Wikipedia service === | === Wikipedia service === | ||
Example: > "Alexa | Example: > "Alexa: Wikipedia white house" (and Alexa reads the [[:en:White House|White House]] Wikipedia page to you.) | ||
They pull api and locally cache results, consume an edit feed, and bust cache after 5 minutes of an edit (they observed that is the time after which edits become stable). | |||
=== Fact service === | === Fact service === | ||
Line 15: | Line 16: | ||
Example: > "Alexa: What is the capital of Paris" | Example: > "Alexa: What is the capital of Paris" | ||
Wikipedia's content is part of the knowledge graph that gets | Wikipedia's content is part of the knowledge graph that gets built in order to answer these questions. This is done async and because of Wikipedia's reputation as a reliable source, it ranks high in terms of trust, so the info is used more than it might be for other sources. Wikidata infoboxes are used to answer this type of question. | ||
Images are also displayed on occasion and this work is more tricky, as they have to be aware of licensing for those, they have a licensing module that chooses images with licenses that Alexa can show. | |||
=== | === API === | ||
Alexa wants to be a good web citizen and they try to cache as much as possible on their end so they end up using our resources minimally. The company that did this work was a startup called "ebi" that Amazon bought. User agent on API calls should be "edbi" or "alexa". | Alexa wants to be a good web citizen and they try to cache as much as possible on their end so they end up using our resources minimally. The company that did this work was a startup called "ebi" that Amazon bought. User agent on API calls should be "edbi" or "alexa". |
Latest revision as of 22:13, 4 August 2021
Meeting notes Attendees:
- Nuria
- David Hardcastle from Alexa
Alexa usage of Wikipedia
Wikipedia service
Example: > "Alexa: Wikipedia white house" (and Alexa reads the White House Wikipedia page to you.)
They pull api and locally cache results, consume an edit feed, and bust cache after 5 minutes of an edit (they observed that is the time after which edits become stable).
Fact service
Example: > "Alexa: What is the capital of Paris"
Wikipedia's content is part of the knowledge graph that gets built in order to answer these questions. This is done async and because of Wikipedia's reputation as a reliable source, it ranks high in terms of trust, so the info is used more than it might be for other sources. Wikidata infoboxes are used to answer this type of question.
Images are also displayed on occasion and this work is more tricky, as they have to be aware of licensing for those, they have a licensing module that chooses images with licenses that Alexa can show.
API
Alexa wants to be a good web citizen and they try to cache as much as possible on their end so they end up using our resources minimally. The company that did this work was a startup called "ebi" that Amazon bought. User agent on API calls should be "edbi" or "alexa".