MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=wandachat
- This module requires read rights.
- Source: Wanda
- License: GPL-2.0-or-later
Send a question or request to the Wanda extension chatbot
- message
Message to be sent to the chatbot
- Default: (empty)
- customprompt
Prompt text to use instead of the default prompt
- Default: (empty)
- customprompttitle
Title of a wiki page to use as a custom prompt template
- Default: (empty)
- maxtokens
Maximum number of tokens in the response
- Type: integer
- Default: 1000
- model
Language model to use for generating the response
- Default: gpt-3.5-turbo
- provider
Cloud provider to use for the language model
- Default: openai
- apikey
API key for the cloud provider
- Default: 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
- apiendpoint
Custom API endpoint for the cloud provider
- Default: http://ollama:11434/api/
- timeout
Timeout in seconds for the API request
- Type: integer
- Default: 30
- temperature
Sampling temperature for response generation (0.0 to 1.0). Higher values yield more diverse responses.
- Default: 0.7
- usepublicknowledge
Whether to allow the chatbot to use its public knowledge in addition to wiki context (true/false)
- Type: boolean (details)
- skipesquery
Whether to skip Elasticsearch query
- Type: boolean (details)
- images
Pipe-separated list of image titles to attach (e.g., 'File:Example.jpg|File:Image2.png')
- Default: (empty)