18817535bSAndreas Gohr<?php 27ebc7895Ssplitbrain 38817535bSAndreas Gohr/** 48817535bSAndreas Gohr * Options for the aichat plugin 58817535bSAndreas Gohr * 68817535bSAndreas Gohr * @author Andreas Gohr <gohr@cosmocode.de> 78817535bSAndreas Gohr */ 88817535bSAndreas Gohr 925892c36SAndreas Gohr$meta['chatmodel'] = array(\dokuwiki\plugin\aichat\ModelSetting::class, 'type' => 'chat'); 1025892c36SAndreas Gohr$meta['embedmodel'] = array(\dokuwiki\plugin\aichat\ModelSetting::class, 'type' => 'embedding'); 11dce0dee5SAndreas Gohr$meta['storage'] = array('multichoice', 12dce0dee5SAndreas Gohr '_choices' => array( 13dce0dee5SAndreas Gohr 'Chroma', 14dce0dee5SAndreas Gohr 'Pinecone', 15dce0dee5SAndreas Gohr 'Qdrant', 16dce0dee5SAndreas Gohr 'SQLite', 17dce0dee5SAndreas Gohr ) 18dce0dee5SAndreas Gohr); 19dce0dee5SAndreas Gohr 20*e3640be8SAndreas Gohr$meta['openai_apikey'] = array('password'); 21*e3640be8SAndreas Gohr$meta['openai_org'] = array('string'); 22dce0dee5SAndreas Gohr 23*e3640be8SAndreas Gohr$meta['anthropic_apikey'] = array('password'); 24dce0dee5SAndreas Gohr 25*e3640be8SAndreas Gohr$meta['mistral_apikey'] = array('password'); 26*e3640be8SAndreas Gohr 27*e3640be8SAndreas Gohr$meta['pinecone_apikey'] = array('password'); 2813dbfc23SAndreas Gohr$meta['pinecone_baseurl'] = array('string'); 2913dbfc23SAndreas Gohr 305e6dd16eSAndreas Gohr$meta['chroma_baseurl'] = array('string'); 31*e3640be8SAndreas Gohr$meta['chroma_apikey'] = array('password'); 325e6dd16eSAndreas Gohr$meta['chroma_tenant'] = array('string'); 335e6dd16eSAndreas Gohr$meta['chroma_database'] = array('string'); 345e6dd16eSAndreas Gohr$meta['chroma_collection'] = array('string'); 355e6dd16eSAndreas Gohr 364c0099a8SAndreas Gohr$meta['qdrant_baseurl'] = array('string'); 37*e3640be8SAndreas Gohr$meta['qdrant_apikey'] = array('password'); 384c0099a8SAndreas Gohr$meta['qdrant_collection'] = array('string'); 394c0099a8SAndreas Gohr 40*e3640be8SAndreas Gohr$meta['chunkSize'] = array('numeric', '_min' => 100); 41*e3640be8SAndreas Gohr$meta['contextChunks'] = array('numeric', '_min' => 1); 42*e3640be8SAndreas Gohr 4382d5855eSAndreas Gohr$meta['logging'] = array('onoff'); 44c4127b8eSAndreas Gohr$meta['restrict'] = array('string'); 45d5c102b3SAndreas Gohr$meta['skipRegex'] = array('string'); 46d5c102b3SAndreas Gohr$meta['matchRegex'] = array('string'); 47e33a1d7aSAndreas Gohr$meta['preferUIlanguage'] = array('multichoice', '_choices' => array( 48e33a1d7aSAndreas Gohr \dokuwiki\plugin\aichat\AIChat::LANG_AUTO_ALL, 49e33a1d7aSAndreas Gohr \dokuwiki\plugin\aichat\AIChat::LANG_UI_ALL, 50e33a1d7aSAndreas Gohr \dokuwiki\plugin\aichat\AIChat::LANG_UI_LIMITED, 51e33a1d7aSAndreas Gohr)); 52