WikipediaPageLoadToolName | Description |
---|---|
language | Type: str Default: ‘en’ |
top_k | Type: int Default: 3 |
truncate | Type: int Default: 4000 |
verbose | Type: bool Default: False |
Name | Description |
---|---|
query | The search term to query Wikipedia. Type: str |
Type | Description |
---|---|
list[Document] | str | Union[list[Document], str]: - list[Document]: Documents with up to truncate characters of page text and metadata if pages are found. - str: Error message if the search fails or no pages are found. Notes: - Errors are caught internally and returned as strings. - If no matching pages have text content, returns “No good Wikipedia Search Result was found”. |
Name | Description |
---|---|
agent | The agent to which the tool will be registered. Type: ConversableAgent |
Name | Description |
---|---|
agent | The agent to which the tool will be registered. Type: ConversableAgent |
register_for_llm
and register_for_execution
with the same agent.Name | Description |
---|---|
agent | The agent to which the tool will be registered. Type: ConversableAgent |