refactor: define prompts in configuration

#16
Files changed (1) hide show
  1. config_sentence_transformers.json +4 -1
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
  }