xref: /plugin/aichat/conf/default.php (revision ce8a80117a73bc34294c9da74df80b5abb69229f)
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['ollama_baseurl'] = '';
30
31$conf['pinecone_apikey'] = '';
32$conf['pinecone_baseurl'] = '';
33
34$conf['chroma_baseurl'] = '';
35$conf['chroma_apikey'] = '';
36$conf['chroma_tenant'] = 'default_tenant';
37$conf['chroma_database'] = 'default_database';
38$conf['chroma_collection'] = 'aichat';
39
40$conf['qdrant_baseurl'] = '';
41$conf['qdrant_apikey'] = '';
42$conf['qdrant_collection'] = 'aichat';
43
44$conf['chunkSize'] = 1500;
45$conf['similarityThreshold'] = 75;
46$conf['contextChunks'] = 5;
47$conf['chatHistory'] = 1;
48$conf['rephraseHistory'] = 1;
49
50$conf['logging'] = 0;
51$conf['restrict'] = '';
52$conf['skipRegex'] = ':(playground|sandbox)(:|$)';
53$conf['matchRegex'] = '';
54$conf['preferUIlanguage'] = 0;
55