Skip to content

Commit 90c7924

Browse files
committed
Fix thresholds; Add missing test class
1 parent 14a461d commit 90c7924

File tree

2 files changed

+37
-1
lines changed

2 files changed

+37
-1
lines changed

grounding/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<coverage.line>83%</coverage.line>
3636
<coverage.instruction>88%</coverage.instruction>
3737
<coverage.branch>100%</coverage.branch>
38-
<coverage.method>100%</coverage.method>
38+
<coverage.method>83%</coverage.method>
3939
<coverage.class>100%</coverage.class>
4040
</properties>
4141

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"request": {
3+
"method": "GET",
4+
"url": "/v2/lm/document-grounding/retrieval/dataRepositories"
5+
},
6+
"response": {
7+
"status": 200,
8+
"headers": {
9+
"Content-Type": "application/json"
10+
},
11+
"jsonBody": {
12+
"count": 2,
13+
"resources": [
14+
{
15+
"id": "001766c1-05c7-41fe-a3d7-c1fb02fc1473",
16+
"title": "test-collection",
17+
"metadata": [
18+
{
19+
"key": "purpose",
20+
"value": [
21+
"grounding test"
22+
]
23+
}
24+
],
25+
"type": "vector"
26+
},
27+
{
28+
"id": "61451b0d-ea10-4eac-ae2a-a0a00a33a505",
29+
"title": "This is another collection",
30+
"metadata": [],
31+
"type": "vector"
32+
}
33+
]
34+
}
35+
}
36+
}

0 commit comments

Comments
 (0)