This repository has been archived by the owner on Jan 19, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfiguration_sad_sam.json
54 lines (54 loc) · 1.77 KB
/
configuration_sad_sam.json
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
48
49
50
51
52
53
54
{
"source_artifact_provider": {
"name": "single_file",
"args": {"artifact_type": "software architecture documentation", "path": "C:/Uni/WS23-24/datasets/SAD_SAM_CODE/teastore/text_2020/"}
},
"target_artifact_provider": {
"name": "single_file",
"args": {"artifact_type": "software architecture model", "path": "C:/Uni/WS23-24/datasets/SAD_SAM_CODE/teastore/model_2020/uml/"}
},
"source_preprocessor": {
"name": "line",
"args": {}
},
"target_preprocessor": {
"name": "model_uml",
"args": {
"include_usages": false,
"include_interface_realizations": false,
"include_operations": false,
"use_prefix": false
}
},
"embedding_creator": {
"name": "open_ai",
"args": {"path": "./storage/SAD_SAM_CODE/teastore/embeddings/", "model": "text-embedding-3-large"}
},
"source_store": {
"name": "chroma",
"args": {"direction": "source", "path": "./storage/sad_sam_code/teastore/", "similarity_function": "cosine", "n_results": 5,
"dynamic_n": false
}
},
"target_store": {
"name": "chroma",
"args": {"direction": "target", "path": "./storage/sad_sam_code/teastore/", "similarity_function": "cosine", "n_results": 5,
"dynamic_n": false
}
},
"classifier": {
"name": "multi_step",
"args": {"model": "gpt-3.5-turbo-0125",
"prompt": "source_neighbouring_siblings_reasoning",
"source_pre_context": 2,
"source_post_context": 2
}
},
"result_aggregator": {
"name": "any_connection",
"args": {
"source_granularity": 1,
"target_granularity": 1
}
}
}