xref: /plugin/aichat/conf/default.php (revision 666b8ea780a78b4ff2dd542c18bf1bb6da1ad2d3)
1<?php
2
3/**
4 * Default settings for the aichat plugin
5 *
6 * @author Andreas Gohr <gohr@cosmocode.de>
7 */
8
9$conf['chatmodel'] = 'OpenAI gpt-3.5-turbo';
10$conf['rephrasemodel'] = 'OpenAI gpt-3.5-turbo';
11$conf['embedmodel'] = 'OpenAI text-embedding-ada-002';
12$conf['storage'] = 'SQLite';
13
14$conf['customprompt'] = '';
15
16$conf['openai_apikey']    = '';
17$conf['openai_org']    = '';
18
19$conf['anthropic_apikey'] = '';
20
21$conf['mistral_apikey'] = '';
22
23$conf['voyageai_apikey'] = '';
24
25$conf['reka_apikey'] = '';
26
27$conf['groq_apikey'] = '';
28
29$conf['pinecone_apikey'] = '';
30$conf['pinecone_baseurl'] = '';
31
32$conf['chroma_baseurl'] = '';
33$conf['chroma_apikey'] = '';
34$conf['chroma_tenant'] = 'default_tenant';
35$conf['chroma_database'] = 'default_database';
36$conf['chroma_collection'] = 'aichat';
37
38$conf['qdrant_baseurl'] = '';
39$conf['qdrant_apikey'] = '';
40$conf['qdrant_collection'] = 'aichat';
41
42$conf['chunkSize'] = 1500;
43$conf['similarityThreshold'] = 75;
44$conf['contextChunks'] = 5;
45$conf['chatHistory'] = 1;
46$conf['rephraseHistory'] = 1;
47
48$conf['logging'] = 0;
49$conf['restrict'] = '';
50$conf['skipRegex'] = ':(playground|sandbox)(:|$)';
51$conf['matchRegex'] = '';
52$conf['preferUIlanguage'] = 0;
53