xref: /plugin/aichat/conf/metadata.php (revision 25892c3659bd4c3ac5c1e89f086730a13961c417)
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
20dce0dee5SAndreas Gohr
21*25892c36SAndreas Gohr$meta['chatmodel'] = array(\dokuwiki\plugin\aichat\ModelSetting::class, 'type' => 'chat');
22dce0dee5SAndreas Gohr
23*25892c36SAndreas Gohr$meta['embedmodel'] = array(\dokuwiki\plugin\aichat\ModelSetting::class, 'type' => 'embedding');
24dce0dee5SAndreas Gohr
25dce0dee5SAndreas Gohr$meta['storage'] = array('multichoice',
26dce0dee5SAndreas Gohr    '_choices' => array(
27dce0dee5SAndreas Gohr        'Chroma',
28dce0dee5SAndreas Gohr        'Pinecone',
29dce0dee5SAndreas Gohr        'Qdrant',
30dce0dee5SAndreas Gohr        'SQLite',
31dce0dee5SAndreas Gohr    )
32dce0dee5SAndreas Gohr);
33dce0dee5SAndreas Gohr
34dce0dee5SAndreas Gohr
35dce0dee5SAndreas Gohr
36dce0dee5SAndreas Gohr
3713dbfc23SAndreas Gohr$meta['pinecone_apikey'] = array('string');
3813dbfc23SAndreas Gohr$meta['pinecone_baseurl'] = array('string');
3913dbfc23SAndreas Gohr
405e6dd16eSAndreas Gohr$meta['chroma_baseurl'] = array('string');
415e6dd16eSAndreas Gohr$meta['chroma_apikey'] = array('string');
425e6dd16eSAndreas Gohr$meta['chroma_tenant'] = array('string');
435e6dd16eSAndreas Gohr$meta['chroma_database'] = array('string');
445e6dd16eSAndreas Gohr$meta['chroma_collection'] = array('string');
455e6dd16eSAndreas Gohr
464c0099a8SAndreas Gohr$meta['qdrant_baseurl'] = array('string');
474c0099a8SAndreas Gohr$meta['qdrant_apikey'] = array('string');
484c0099a8SAndreas Gohr$meta['qdrant_collection'] = array('string');
494c0099a8SAndreas Gohr
5082d5855eSAndreas Gohr$meta['logging'] = array('onoff');
51c4127b8eSAndreas Gohr$meta['restrict'] = array('string');
52d5c102b3SAndreas Gohr$meta['skipRegex'] = array('string');
53d5c102b3SAndreas Gohr$meta['matchRegex'] = array('string');
54e33a1d7aSAndreas Gohr$meta['preferUIlanguage'] = array('multichoice', '_choices' => array(
55e33a1d7aSAndreas Gohr    \dokuwiki\plugin\aichat\AIChat::LANG_AUTO_ALL,
56e33a1d7aSAndreas Gohr    \dokuwiki\plugin\aichat\AIChat::LANG_UI_ALL,
57e33a1d7aSAndreas Gohr    \dokuwiki\plugin\aichat\AIChat::LANG_UI_LIMITED,
58e33a1d7aSAndreas Gohr));
59