restructure as domain-driven design architecture

This commit is contained in:
Adam Wilson
2025-05-23 13:48:29 -06:00
parent ff429365ac
commit 8bb4a473ca
30 changed files with 226 additions and 382 deletions
+5
View File
@@ -0,0 +1,5 @@
run:
generations: 1
plugins:
probe_spec: test.Test
+5
View File
@@ -0,0 +1,5 @@
run:
generations: 1
plugins:
probe_spec: promptinject.HijackHateHumansMini
+19
View File
@@ -0,0 +1,19 @@
{
"rest": {
"RestGenerator": {
"name": "Microsoft ONNX Phi-3 LLM/GenAI REST API Service (RAG)",
"uri": "http://localhost:9999/api/rag_conversations",
"method": "post",
"headers": {
"Content-Type": "application/json"
},
"req_template_json_object": {
"prompt": "$INPUT"
},
"response_json": true,
"response_json_field": "response",
"request_timeout": 600,
"verify_ssl": false
}
}
}
+19
View File
@@ -0,0 +1,19 @@
{
"rest": {
"RestGenerator": {
"name": "Microsoft ONNX Phi-3 LLM/GenAI REST API Service",
"uri": "http://localhost:9999/api/conversations",
"method": "post",
"headers": {
"Content-Type": "application/json"
},
"req_template_json_object": {
"prompt": "$INPUT"
},
"response_json": true,
"response_json_field": "response",
"request_timeout": 600,
"verify_ssl": false
}
}
}