v1
Wikipedia (Vector)
Perform a natural language search over Wikipedia pages using semantic relevance. The result includes a list of page sections most closely matched to your query intent.
post/v1/vector/wikipedia/all
Request body
Example request
{
"prompt": "Enter your prompt",
"filter": {
"pageId": [
""
],
"sectionId": [
""
],
"wikiPageId": [
0
],
"wikiRevisionId": [
0
],
"wikiCode": [
""
],
"wikiNamespace": [
0
],
"wikidataId": [
""
],
"wikidataInstanceOfId": [
""
],
"wikidataInstanceOfLabel": [
""
],
"AND": [
{}
],
"OR": [
{}
],
"NOT": [
{}
]
},
"wikiRevisionFrom": "2024-01-01T00:00:00Z",
"wikiRevisionTo": "2024-12-31T23:59:59Z"
}Response
200 - Success
Example response
{
"status": 200,
"results": [
{
"score": 0.6632843,
"data": {
"pageId": "a9e264ec1f6a4c049e3be8e997e24d2f",
"sectionId": "d3d9e592df354cb9abcac4d3c5d38065",
"wikiPageId": 63988579,
"wikiRevisionId": 1300572396,
"wikiRevisionTs": "2025-07-15T04:19:25Z",
"wikiCode": "enwiki",
"wikiNamespace": 0,
"wikiTitle": "Gigafactory Texas",
"wikidataId": "Q96379480",
"wikidataInstanceOf": [
{
"wikidataId": "Q83405",
"label": "factory"
}
],
"redirectTitles": [
"Giga Austin",
"Gigafactory 5",
"Tesla Gigafactory 5",
"Terafactory",
"Giga Texas",
"Austin Gigafactory"
],
"pageviews": 339,
"title": "Austin",
"styleLevel": 3,
"content": "In 2014, Tesla evaluated a 1,500-acre (600 ha; 2 sq mi; 6 km2) manufacturing site on U.S. Route 79 at Frame Switch (30°32′N 97°30′W / 30.54°N 97.5°W / 30.54; -97.5 (Hutto MegaSite, (Frame Switch, Texas))), located between the towns of Hutto and Taylor, north-east of the Greater Austin center as its next factory. However, Tesla chose to build its first Gigafactory (now named Gigafactory Nevada) near Sparks, Nevada which is by Reno in 2014.\n\nBy June 2020, another location, one near the Del Valle area of Austin was being considered, a 2,100-acre (850 ha; 3.3 sq mi; 8.5 km2) site bordering Harold Green Road (later renamed Tesla Road) and Texas State Highway 130. On June 16, 2020, the Commissioners' court of Travis County discussed a possible incentives package for Tesla. In July 2020, the Del Valle Independent School District approved a tax incentives package worth $68 million, should the Tesla Gigafactory be built. On July 22, 2020, during Tesla's second quarter 2020 earnings call, the company announced that location had been selected for its fifth Gigafactory.\n\nBy the end of July 2020, construction had begun. The Tesla Gigafactory received state tax incentives worth about $50 million through the Texas Tax Code Chapter 313 program. Tesla announced a manufacturing training program in cooperation with Austin Community College District on June 15, 2021. The program was expected to start in August 2021 and the course was to last 14 weeks. The first fully completed Tesla Model Y rolled off the line at Giga Texas in the last week of August 2021 under trial production. In December 2021, Elon Musk estimated that Giga Texas will require a total investment of at least $10B and may employ as many as 20,000 employees within the company.\n\nIn early 2022 Tesla battery suppliers CATL and Panasonic were reportedly scouting sites for battery factories in North America, including Kansas, Oklahoma, Mexico and Canada. Panasonic announced in July 2022 that the company selected De Soto, Kansas (at the former Sunflower Army Ammunition Plant) to build a battery factory. Large subsidies and abatements were granted to Panasonic, organized by Governor Laura Kelly."
}
}
]
}