> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vectorshift.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Wikipedia Article Node

> Get relevant Wikipedia articles based on a search query

<img src="https://mintcdn.com/vectorshift/YP4-JQlrCs6FGFt3/images/platform/pipelines/data-loaders/wikipedia.png?fit=max&auto=format&n=YP4-JQlrCs6FGFt3&q=85&s=4ad2b673619eb64349e9553e0d4a0ab6" alt="Wikipedia Article Loader" width="940" height="502" data-path="images/platform/pipelines/data-loaders/wikipedia.png" />

This node queries wikipedia and returns relevant articles based on the search query.

## Node Inputs

1. Search Query: The query text to search Wikipedia
   * Type: `Text`

## Node Parameters

In the gear:

1. Chunk Text: Chunk the articles returned
2. Chunk Size (if Chunk Text is set to True): The size of each chunks in tokens (1 token = 4 characters; default is 512 tokens)
3. Chunk Overlap  (if Chunk Text is set to True): The number of tokens of overlap between chunks (default is 0 tokens)

## Node Outputs

1. Content: The relevant Wikipedia articles
   * Type: `Text`
   * Example usage: `{{wikipedia_0.content}}`

## Considerations

* Click on the “+” button on the right of the node to create and connect the node to a [semantic search node](/platform/pipelines/knowledge/semantic-search) to enable semantic search on the articles.

## Example

The below example shows a pipeline that utilizes a search query and returns relevant Wikipedia articles.

1. Text Node: Contains the search query
2. Wikipedia Node: Returns relevant Wikipedia articles based on a search query
   * Search Query: `{{text_0.text}}`
3. Output Node: Displays the text from the articles
   * Output: `{{wikipedia_0.output}}`

<img src="https://mintcdn.com/vectorshift/YP4-JQlrCs6FGFt3/images/platform/pipelines/data-loaders/wikipedia-example.png?fit=max&auto=format&n=YP4-JQlrCs6FGFt3&q=85&s=78122fecad8c53097e90dd7c96fd0a6a" alt="Wikipedia Example" width="1907" height="834" data-path="images/platform/pipelines/data-loaders/wikipedia-example.png" />
