Data Loaders
Get Wikipedia Article Node
Get relevant Wikipedia articles based on a search query
This node queries wikipedia and returns relevant articles based on the search query.
Node Inputs
- Search Query: The query text to search Wikipedia
- Type:
Text
- Type:
Node Parameters
In the gear:
- Chunk Text: Chunk the articles returned
- Chunk Size (if Chunk Text is set to True): The size of each chunks in tokens (1 token = 4 characters; default is 512 tokens)
- Chunk Overlap (if Chunk Text is set to True): The number of tokens of overlap between chunks (default is 0 tokens)
Node Outputs
- Content: The relevant Wikipedia articles
- Type:
Text
- Example usage:
{{wikipedia_0.content}}
- Type:
Considerations
- Click on the “+” button on the right of the node to create and connect the node to a semantic search node to enable semantic search on the articles.