xref: /plugin/aichat/conf/metadata.php (revision 87e464844e8a4bc0fa03608147b1a25b9b20b678)
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
20e3640be8SAndreas Gohr$meta['openai_apikey'] = array('password');
21e3640be8SAndreas Gohr$meta['openai_org'] = array('string');
22dce0dee5SAndreas Gohr
23e3640be8SAndreas Gohr$meta['anthropic_apikey'] = array('password');
24dce0dee5SAndreas Gohr
25e3640be8SAndreas Gohr$meta['mistral_apikey'] = array('password');
26e3640be8SAndreas Gohr
27*87e46484SAndreas Gohr$meta['voyageai_apikey'] = array('password');
28*87e46484SAndreas Gohr
29e3640be8SAndreas Gohr$meta['pinecone_apikey'] = array('password');
3013dbfc23SAndreas Gohr$meta['pinecone_baseurl'] = array('string');
3113dbfc23SAndreas Gohr
325e6dd16eSAndreas Gohr$meta['chroma_baseurl'] = array('string');
33e3640be8SAndreas Gohr$meta['chroma_apikey'] = array('password');
345e6dd16eSAndreas Gohr$meta['chroma_tenant'] = array('string');
355e6dd16eSAndreas Gohr$meta['chroma_database'] = array('string');
365e6dd16eSAndreas Gohr$meta['chroma_collection'] = array('string');
375e6dd16eSAndreas Gohr
384c0099a8SAndreas Gohr$meta['qdrant_baseurl'] = array('string');
39e3640be8SAndreas Gohr$meta['qdrant_apikey'] = array('password');
404c0099a8SAndreas Gohr$meta['qdrant_collection'] = array('string');
414c0099a8SAndreas Gohr
42e3640be8SAndreas Gohr$meta['chunkSize'] = array('numeric', '_min' => 100);
43e3640be8SAndreas Gohr$meta['contextChunks'] = array('numeric', '_min' => 1);
44e3640be8SAndreas Gohr
4582d5855eSAndreas Gohr$meta['logging'] = array('onoff');
46c4127b8eSAndreas Gohr$meta['restrict'] = array('string');
47d5c102b3SAndreas Gohr$meta['skipRegex'] = array('string');
48d5c102b3SAndreas Gohr$meta['matchRegex'] = array('string');
49e33a1d7aSAndreas Gohr$meta['preferUIlanguage'] = array('multichoice', '_choices' => array(
50e33a1d7aSAndreas Gohr    \dokuwiki\plugin\aichat\AIChat::LANG_AUTO_ALL,
51e33a1d7aSAndreas Gohr    \dokuwiki\plugin\aichat\AIChat::LANG_UI_ALL,
52e33a1d7aSAndreas Gohr    \dokuwiki\plugin\aichat\AIChat::LANG_UI_LIMITED,
53e33a1d7aSAndreas Gohr));
54