refactor: define prompts in configuration (#16)
Browse files- refactor: define prompts in configuration (5e9cb92a8bcbea81ed2fda972b3b0be1d7931e80)
config_sentence_transformers.json
CHANGED
@@ -4,7 +4,10 @@
|
|
4 |
"transformers": "4.41.2",
|
5 |
"pytorch": "2.3.1+cu121"
|
6 |
},
|
7 |
-
"prompts": {
|
|
|
|
|
|
|
8 |
"default_prompt_name": null,
|
9 |
"similarity_fn_name": "cosine"
|
10 |
}
|
|
|
4 |
"transformers": "4.41.2",
|
5 |
"pytorch": "2.3.1+cu121"
|
6 |
},
|
7 |
+
"prompts": {
|
8 |
+
"retrieval.query": "Represent the query for retrieving evidence documents: ",
|
9 |
+
"retrieval.passage": "Represent the document for retrieval: ",
|
10 |
+
},
|
11 |
"default_prompt_name": null,
|
12 |
"similarity_fn_name": "cosine"
|
13 |
}
|