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['gemini_apikey'] = '';
20
21$conf['anthropic_apikey'] = '';
22
23$conf['mistral_apikey'] = '';
24
25$conf['voyageai_apikey'] = '';
26
27$conf['reka_apikey'] = '';
28
29$conf['groq_apikey'] = '';
30
31$conf['ollama_apiurl'] = 'http://localhost:11434/api';
32$conf['ollama_apikey'] = '';
33
34$conf['generic_apikey'] = '';
35$conf['generic_apiurl'] = '';
36
37$conf['pinecone_apikey'] = '';
38$conf['pinecone_baseurl'] = '';
39
40$conf['chroma_baseurl'] = '';
41$conf['chroma_apikey'] = '';
42$conf['chroma_tenant'] = 'default_tenant';
43$conf['chroma_database'] = 'default_database';
44$conf['chroma_collection'] = 'aichat';
45
46$conf['qdrant_baseurl'] = '';
47$conf['qdrant_apikey'] = '';
48$conf['qdrant_collection'] = 'aichat';
49
50$conf['chunkSize'] = 1500;
51$conf['similarityThreshold'] = 75;
52$conf['contextChunks'] = 5;
53$conf['fullpagecontext'] = 0;
54$conf['chatHistory'] = 1;
55$conf['rephraseHistory'] = 1;
56
57$conf['logging'] = 0;
58$conf['restrict'] = '';
59$conf['skipRegex'] = ':(playground|sandbox)(:|$)';
60$conf['matchRegex'] = '';
61$conf['ignoreRegex'] = '';
62$conf['preferUIlanguage'] = 0;
63