xref: /plugin/aichat/conf/metadata.php (revision 4c0099a889ba3b789f9c81b3cd963aadb567ea68)
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
235e6dd16eSAndreas Gohr$meta['chroma_baseurl'] = array('string');
245e6dd16eSAndreas Gohr$meta['chroma_apikey'] = array('string');
255e6dd16eSAndreas Gohr$meta['chroma_tenant'] = array('string');
265e6dd16eSAndreas Gohr$meta['chroma_database'] = array('string');
275e6dd16eSAndreas Gohr$meta['chroma_collection'] = array('string');
285e6dd16eSAndreas Gohr
29*4c0099a8SAndreas Gohr$meta['qdrant_baseurl'] = array('string');
30*4c0099a8SAndreas Gohr$meta['qdrant_apikey'] = array('string');
31*4c0099a8SAndreas Gohr$meta['qdrant_collection'] = array('string');
32*4c0099a8SAndreas Gohr
3382d5855eSAndreas Gohr$meta['logging'] = array('onoff');
34c4127b8eSAndreas Gohr$meta['restrict'] = array('string');
35e33a1d7aSAndreas Gohr$meta['preferUIlanguage'] = array('multichoice', '_choices' => array(
36e33a1d7aSAndreas Gohr    \dokuwiki\plugin\aichat\AIChat::LANG_AUTO_ALL,
37e33a1d7aSAndreas Gohr    \dokuwiki\plugin\aichat\AIChat::LANG_UI_ALL,
38e33a1d7aSAndreas Gohr    \dokuwiki\plugin\aichat\AIChat::LANG_UI_LIMITED,
39e33a1d7aSAndreas Gohr));
40