-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Expand file tree
/
Copy pathembedder.json
More file actions
47 lines (47 loc) · 993 Bytes
/
embedder.json
File metadata and controls
47 lines (47 loc) · 993 Bytes
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"embedder": {
"client_class": "OpenAIClient",
"batch_size": 500,
"model_kwargs": {
"model": "text-embedding-3-small",
"dimensions": 256,
"encoding_format": "float"
}
},
"embedder_ollama": {
"client_class": "OllamaClient",
"model_kwargs": {
"model": "nomic-embed-text"
}
},
"embedder_google": {
"client_class": "GoogleEmbedderClient",
"batch_size": 100,
"model_kwargs": {
"model": "text-embedding-004",
"task_type": "SEMANTIC_SIMILARITY"
}
},
"embedder_bedrock": {
"client_class": "BedrockClient",
"batch_size": 100,
"model_kwargs": {
"model": "amazon.titan-embed-text-v2:0",
"dimensions": 256
}
},
"retriever": {
"top_k": 20
},
"code_splitter": {
"enabled": true,
"chunk_size_lines": 200,
"chunk_overlap_lines": 20,
"min_chunk_lines": 5
},
"text_splitter": {
"split_by": "word",
"chunk_size": 350,
"chunk_overlap": 100
}
}