Ayuda de la API de MediaWiki
Esta es una página de documentación autogenerada de la API de MediaWiki.
Documentación y ejemplos: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=chatbot
(main | chatbot)
- Este módulo requiere permisos de lectura.
- Fuente: ⧼wanda-name⧽
- Licencia: GPL-2.0-or-later
Send a question or request to the Wanda extension chatbot
Parámetros específicos:
Other general parameters are available.
- message
Message to be sent to the chatbot
- maxtokens
Maximum number of tokens in the response
- Tipo: entero
- Predeterminado: 1000
- model
Language model to use for generating the response
- Predeterminado: gemma:2b
- provider
Cloud provider to use for the language model
- Predeterminado: ollama
- apikey
API key for the cloud provider
- Predeterminado: your-api-key-here
- apiendpoint
Custom API endpoint for the cloud provider
- Predeterminado: http://localhost:11434/api/
- timeout
Timeout in seconds for the API request
- Tipo: entero
- Predeterminado: 30
- temperature
Sampling temperature for response generation (0.0 to 1.0). Higher values yield more diverse responses.
- Predeterminado: 0.7
- usepublicknowledge
Whether to allow the chatbot to use its public knowledge in addition to wiki context (true/false)
- Tipo: boolean (más información)