xref: /plugin/aichat/conf/metadata.php (revision dce0dee5ef27bcbbc5570fc278f3e75f426c19c5)
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
20*dce0dee5SAndreas Gohr
21*dce0dee5SAndreas Gohr$meta['chatmodel'] = array('multichoice',
22*dce0dee5SAndreas Gohr    '_choices' => array(
23*dce0dee5SAndreas Gohr        'OpenAI gpt-3.5-turbo',
24*dce0dee5SAndreas Gohr        'OpenAI gpt-4',
25*dce0dee5SAndreas Gohr    )
26*dce0dee5SAndreas Gohr);
27*dce0dee5SAndreas Gohr
28*dce0dee5SAndreas Gohr$meta['embedmodel'] = array('multichoice',
29*dce0dee5SAndreas Gohr    '_choices' => array(
30*dce0dee5SAndreas Gohr        'OpenAI text-embedding-3-small',
31*dce0dee5SAndreas Gohr        'OpenAI text-embedding-ada-002',
32*dce0dee5SAndreas Gohr    )
33*dce0dee5SAndreas Gohr);
34*dce0dee5SAndreas Gohr
35*dce0dee5SAndreas Gohr$meta['storage'] = array('multichoice',
36*dce0dee5SAndreas Gohr    '_choices' => array(
37*dce0dee5SAndreas Gohr        'Chroma',
38*dce0dee5SAndreas Gohr        'Pinecone',
39*dce0dee5SAndreas Gohr        'Qdrant',
40*dce0dee5SAndreas Gohr        'SQLite',
41*dce0dee5SAndreas Gohr    )
42*dce0dee5SAndreas Gohr);
43*dce0dee5SAndreas Gohr
44*dce0dee5SAndreas Gohr
45*dce0dee5SAndreas Gohr
46*dce0dee5SAndreas Gohr
4713dbfc23SAndreas Gohr$meta['pinecone_apikey'] = array('string');
4813dbfc23SAndreas Gohr$meta['pinecone_baseurl'] = array('string');
4913dbfc23SAndreas Gohr
505e6dd16eSAndreas Gohr$meta['chroma_baseurl'] = array('string');
515e6dd16eSAndreas Gohr$meta['chroma_apikey'] = array('string');
525e6dd16eSAndreas Gohr$meta['chroma_tenant'] = array('string');
535e6dd16eSAndreas Gohr$meta['chroma_database'] = array('string');
545e6dd16eSAndreas Gohr$meta['chroma_collection'] = array('string');
555e6dd16eSAndreas Gohr
564c0099a8SAndreas Gohr$meta['qdrant_baseurl'] = array('string');
574c0099a8SAndreas Gohr$meta['qdrant_apikey'] = array('string');
584c0099a8SAndreas Gohr$meta['qdrant_collection'] = array('string');
594c0099a8SAndreas Gohr
6082d5855eSAndreas Gohr$meta['logging'] = array('onoff');
61c4127b8eSAndreas Gohr$meta['restrict'] = array('string');
62d5c102b3SAndreas Gohr$meta['skipRegex'] = array('string');
63d5c102b3SAndreas Gohr$meta['matchRegex'] = array('string');
64e33a1d7aSAndreas Gohr$meta['preferUIlanguage'] = array('multichoice', '_choices' => array(
65e33a1d7aSAndreas Gohr    \dokuwiki\plugin\aichat\AIChat::LANG_AUTO_ALL,
66e33a1d7aSAndreas Gohr    \dokuwiki\plugin\aichat\AIChat::LANG_UI_ALL,
67e33a1d7aSAndreas Gohr    \dokuwiki\plugin\aichat\AIChat::LANG_UI_LIMITED,
68e33a1d7aSAndreas Gohr));
69