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'); 10*51aa8517SAndreas Gohr$meta['rephrasemodel'] = array(\dokuwiki\plugin\aichat\ModelSetting::class, 'type' => 'chat'); 1125892c36SAndreas Gohr$meta['embedmodel'] = array(\dokuwiki\plugin\aichat\ModelSetting::class, 'type' => 'embedding'); 12dce0dee5SAndreas Gohr$meta['storage'] = array('multichoice', 13dce0dee5SAndreas Gohr '_choices' => array( 14dce0dee5SAndreas Gohr 'Chroma', 15dce0dee5SAndreas Gohr 'Pinecone', 16dce0dee5SAndreas Gohr 'Qdrant', 17dce0dee5SAndreas Gohr 'SQLite', 18dce0dee5SAndreas Gohr ) 19dce0dee5SAndreas Gohr); 20dce0dee5SAndreas Gohr 21e3640be8SAndreas Gohr$meta['openai_apikey'] = array('password'); 22e3640be8SAndreas Gohr$meta['openai_org'] = array('string'); 23dce0dee5SAndreas Gohr 24e3640be8SAndreas Gohr$meta['anthropic_apikey'] = array('password'); 25dce0dee5SAndreas Gohr 26e3640be8SAndreas Gohr$meta['mistral_apikey'] = array('password'); 27e3640be8SAndreas Gohr 2887e46484SAndreas Gohr$meta['voyageai_apikey'] = array('password'); 2987e46484SAndreas Gohr 30e3640be8SAndreas Gohr$meta['pinecone_apikey'] = array('password'); 3113dbfc23SAndreas Gohr$meta['pinecone_baseurl'] = array('string'); 3213dbfc23SAndreas Gohr 335e6dd16eSAndreas Gohr$meta['chroma_baseurl'] = array('string'); 34e3640be8SAndreas Gohr$meta['chroma_apikey'] = array('password'); 355e6dd16eSAndreas Gohr$meta['chroma_tenant'] = array('string'); 365e6dd16eSAndreas Gohr$meta['chroma_database'] = array('string'); 375e6dd16eSAndreas Gohr$meta['chroma_collection'] = array('string'); 385e6dd16eSAndreas Gohr 394c0099a8SAndreas Gohr$meta['qdrant_baseurl'] = array('string'); 40e3640be8SAndreas Gohr$meta['qdrant_apikey'] = array('password'); 414c0099a8SAndreas Gohr$meta['qdrant_collection'] = array('string'); 424c0099a8SAndreas Gohr 43e3640be8SAndreas Gohr$meta['chunkSize'] = array('numeric', '_min' => 100); 44e3640be8SAndreas Gohr$meta['contextChunks'] = array('numeric', '_min' => 1); 45e3640be8SAndreas Gohr 4682d5855eSAndreas Gohr$meta['logging'] = array('onoff'); 47c4127b8eSAndreas Gohr$meta['restrict'] = array('string'); 48d5c102b3SAndreas Gohr$meta['skipRegex'] = array('string'); 49d5c102b3SAndreas Gohr$meta['matchRegex'] = array('string'); 50e33a1d7aSAndreas Gohr$meta['preferUIlanguage'] = array('multichoice', '_choices' => array( 51e33a1d7aSAndreas Gohr \dokuwiki\plugin\aichat\AIChat::LANG_AUTO_ALL, 52e33a1d7aSAndreas Gohr \dokuwiki\plugin\aichat\AIChat::LANG_UI_ALL, 53e33a1d7aSAndreas Gohr \dokuwiki\plugin\aichat\AIChat::LANG_UI_LIMITED, 54e33a1d7aSAndreas Gohr)); 55