*/ $meta['chatmodel'] = array(\dokuwiki\plugin\aichat\ModelSetting::class, 'type' => 'chat'); $meta['rephrasemodel'] = array(\dokuwiki\plugin\aichat\ModelSetting::class, 'type' => 'chat'); $meta['embedmodel'] = array(\dokuwiki\plugin\aichat\ModelSetting::class, 'type' => 'embedding'); $meta['storage'] = array('multichoice', '_choices' => array( 'Chroma', 'Pinecone', 'Qdrant', 'SQLite', ) ); $meta['customprompt'] = array(); $meta['openai_apikey'] = array('password'); $meta['openai_org'] = array('string'); $meta['gemini_apikey'] = array('password'); $meta['anthropic_apikey'] = array('password'); $meta['mistral_apikey'] = array('password'); $meta['voyageai_apikey'] = array('password'); $meta['reka_apikey'] = array('password'); $meta['groq_apikey'] = array('password'); $meta['ollama_baseurl'] = array('string'); $meta['pinecone_apikey'] = array('password'); $meta['pinecone_baseurl'] = array('string'); $meta['chroma_baseurl'] = array('string'); $meta['chroma_apikey'] = array('password'); $meta['chroma_tenant'] = array('string'); $meta['chroma_database'] = array('string'); $meta['chroma_collection'] = array('string'); $meta['qdrant_baseurl'] = array('string'); $meta['qdrant_apikey'] = array('password'); $meta['qdrant_collection'] = array('string'); $meta['chunkSize'] = array('numeric', '_min' => 100, '_regexp' => '/^\d+$/'); $meta['similarityThreshold'] = array('numeric', '_min' => 0, '_max' => 100, '_regexp' => '/^\d+$/'); $meta['contextChunks'] = array('numeric', '_min' => 1, '_regexp' => '/^\d+$/'); $meta['chatHistory'] = array('numeric', '_min' => 0, '_regexp' => '/^\d+$/'); $meta['rephraseHistory'] = array('numeric', '_min' => 0, '_regexp' => '/^\d+$/'); $meta['logging'] = array('onoff'); $meta['restrict'] = array('string'); $meta['skipRegex'] = array('string'); $meta['matchRegex'] = array('string'); $meta['ignoreRegex'] = array('string'); $meta['preferUIlanguage'] = array('multichoice', '_choices' => array( \dokuwiki\plugin\aichat\AIChat::LANG_AUTO_ALL, \dokuwiki\plugin\aichat\AIChat::LANG_UI_ALL, \dokuwiki\plugin\aichat\AIChat::LANG_UI_LIMITED, ));