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 to enable semantic search on the articles.