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 98817535bSAndreas Gohr$meta['openaikey'] = array('string'); 108817535bSAndreas Gohr$meta['openaiorg'] = array('string'); 11f6ef2e50SAndreas Gohr 12f6ef2e50SAndreas Gohr$meta['model'] = array('multichoice', 13f6ef2e50SAndreas Gohr '_choices' => array( 14f6ef2e50SAndreas Gohr 'OpenAI\\GPT35Turbo', 15f6ef2e50SAndreas Gohr 'OpenAI\\GPT35Turbo16k', 160eeff420SAndreas Gohr 'OpenAI\\GPT4', 17f6ef2e50SAndreas Gohr ) 18f6ef2e50SAndreas Gohr); 19f6ef2e50SAndreas Gohr 2013dbfc23SAndreas Gohr$meta['pinecone_apikey'] = array('string'); 2113dbfc23SAndreas Gohr$meta['pinecone_baseurl'] = array('string'); 2213dbfc23SAndreas Gohr 23*5e6dd16eSAndreas Gohr$meta['chroma_baseurl'] = array('string'); 24*5e6dd16eSAndreas Gohr$meta['chroma_apikey'] = array('string'); 25*5e6dd16eSAndreas Gohr$meta['chroma_tenant'] = array('string'); 26*5e6dd16eSAndreas Gohr$meta['chroma_database'] = array('string'); 27*5e6dd16eSAndreas Gohr$meta['chroma_collection'] = array('string'); 28*5e6dd16eSAndreas Gohr 2982d5855eSAndreas Gohr$meta['logging'] = array('onoff'); 30c4127b8eSAndreas Gohr$meta['restrict'] = array('string'); 31e33a1d7aSAndreas Gohr$meta['preferUIlanguage'] = array('multichoice', '_choices' => array( 32e33a1d7aSAndreas Gohr \dokuwiki\plugin\aichat\AIChat::LANG_AUTO_ALL, 33e33a1d7aSAndreas Gohr \dokuwiki\plugin\aichat\AIChat::LANG_UI_ALL, 34e33a1d7aSAndreas Gohr \dokuwiki\plugin\aichat\AIChat::LANG_UI_LIMITED, 35e33a1d7aSAndreas Gohr)); 36