aboutsummaryrefslogtreecommitdiffstats
path: root/src/aichat/config.yaml
blob: acad04fcd56add47d610499b363eed806c539ce7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# see https://github.com/sigoden/aichat/blob/main/config.example.yaml

rag_embedding_model: ollama:nomic-embed-text
rag_chunk_size: 8192
rag_chunk_overlap: 409
model: ollama:qwen2.5
temperature: 0
clients:
- type: openai-compatible
  name: ollama
  api_base: http://localhost:11434/v1
  api_key: __LLM_API_KEY__
  models:
    - name: qwen2.5
      supports_function_calling: true
      max_input_tokens: 128000
    - name: gemma2
      supports_function_calling: true
      max_input_tokens: 128000
    - name: qwen2.5-coder:32b
      supports_function_calling: true
      max_input_tokens: 128000
    - name: nomic-embed-text
      type: embedding
      max_input_tokens: 200000
      max_tokens_per_chunk: 2000
      default_chunk_size: 8192
      max_batch_size: 100