Skip to content

Commit cef42ef

Browse files
committed
Update grounding based on main
1 parent f08fe04 commit cef42ef

File tree

1 file changed

+65
-65
lines changed
  • core-services/document-grounding/src/main/resources/spec

1 file changed

+65
-65
lines changed

core-services/document-grounding/src/main/resources/spec/grounding.yaml

Lines changed: 65 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,19 @@ servers:
2222
variables:
2323
region:
2424
enum:
25-
- prod.eu-central-1.aws
26-
- prodeuonly.eu-central-1.aws
27-
- prod.us-east-1.aws
28-
- prod.ap-northeast-1.aws
29-
- prod.ap-southeast-2.aws
30-
- prod-eu20.westeurope.azure
31-
- prod-eu30.europe-west3.gcp
32-
- prod-us21.eastus.azure
33-
- prod-us30.us-central1.gcp
34-
- prod-ap20.australiaeast.az
35-
- prod-ap11.ap-southeast-1.aws
25+
- prod.eu-central-1.aws
26+
- prodeuonly.eu-central-1.aws
27+
- prod.us-east-1.aws
28+
- prod.ap-northeast-1.aws
29+
- prod.ap-southeast-2.aws
30+
- prod-eu20.westeurope.azure
31+
- prod-eu30.europe-west3.gcp
32+
- prod-us21.eastus.azure
33+
- prod-us30.us-central1.gcp
34+
- prod-ap20.australiaeast.az
35+
- prod-ap11.ap-southeast-1.aws
3636
default: prod.eu-central-1.aws
37-
service:
37+
service:
3838
default: document-grounding
3939
paths:
4040
"/pipelines":
@@ -184,7 +184,7 @@ paths:
184184
"/pipelines/{pipelineId}/executions":
185185
get:
186186
tags:
187-
- Pipelines
187+
- Pipelines
188188
operationId: pipeline.v1.pipeline_endpoints.get_pipeline_executions
189189
summary: Get Pipeline Executions
190190
description: Retrieve all executions for a specific pipeline. Optionally, filter to get only the last execution.
@@ -222,7 +222,7 @@ paths:
222222
"/pipelines/{pipelineId}/executions/{executionId}":
223223
get:
224224
tags:
225-
- Pipelines
225+
- Pipelines
226226
operationId: pipeline.v1.pipeline_endpoints.get_pipeline_execution_by_id
227227
summary: Get Pipeline Execution by ID
228228
description: Retrieve details of a specific pipeline execution by its execution ID.
@@ -860,7 +860,7 @@ paths:
860860
- $ref: '#/components/parameters/skip'
861861
- $ref: '#/components/parameters/count'
862862
tags:
863-
- Retrieval
863+
- Retrieval
864864
summary: List all DataRepository objects.
865865
description: List all Data Repositories
866866
operationId: retrieval.v1.retrieval_endpoints.get_data_repositories
@@ -877,7 +877,7 @@ paths:
877877
"/retrieval/dataRepositories/{repositoryId}":
878878
get:
879879
tags:
880-
- Retrieval
880+
- Retrieval
881881
summary: List single DataRepository object.
882882
description: List data repository by id
883883
operationId: retrieval.v1.retrieval_endpoints.get_data_repository
@@ -1186,7 +1186,7 @@ components:
11861186
pattern: '^$|^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d{3})?Z$'
11871187
example: '2024-02-15T12:45:00.000Z'
11881188
status:
1189-
$ref: '#/components/schemas/PipelineExecutionStatus'
1189+
$ref: '#/components/schemas/PipelineExecutionStatus'
11901190

11911191
pipelineId:
11921192
type: object
@@ -1214,7 +1214,7 @@ components:
12141214
example: uuid
12151215
status:
12161216
$ref: '#/components/schemas/PipelineExecutionStatus'
1217-
1217+
12181218
getPipelineExecutions:
12191219
type: object
12201220
properties:
@@ -1287,7 +1287,7 @@ components:
12871287
type: string
12881288
example: '2024-02-15T12:45:00Z'
12891289
status:
1290-
$ref: '#/components/schemas/DocumentStatus'
1290+
$ref: '#/components/schemas/DocumentStatus'
12911291

12921292
Chunk:
12931293
properties:
@@ -1305,8 +1305,8 @@ components:
13051305
default: []
13061306
type: object
13071307
required:
1308-
- id
1309-
- content
1308+
- id
1309+
- content
13101310
title: Chunk
13111311
DocumentKeyValueListPair:
13121312
properties:
@@ -1328,13 +1328,13 @@ components:
13281328
default: ANY
13291329
anyOf:
13301330
- enum:
1331-
- ANY
1332-
- ALL
1331+
- ANY
1332+
- ALL
13331333
- {}
13341334
type: object
13351335
required:
1336-
- key
1337-
- value
1336+
- key
1337+
- value
13381338
title: DocumentKeyValueListPair
13391339
HTTPValidationError:
13401340
properties:
@@ -1359,8 +1359,8 @@ components:
13591359
title: Value
13601360
type: object
13611361
required:
1362-
- key
1363-
- value
1362+
- key
1363+
- value
13641364
title: KeyValueListPair
13651365
Document-Output:
13661366
properties:
@@ -1465,21 +1465,21 @@ components:
14651465
description: Select mode for search filters
14661466
type: object
14671467
required:
1468-
- key
1469-
- value
1468+
- key
1469+
- value
14701470
title: SearchDocumentKeyValueListPair
14711471
SearchResults:
14721472
properties:
14731473
results:
14741474
type: array
14751475
items:
14761476
anyOf:
1477-
- $ref: "#/components/schemas/PerFilterSearchResult"
1477+
- $ref: "#/components/schemas/PerFilterSearchResult"
14781478
title: Results
14791479
description: List of returned results.
14801480
type: object
14811481
required:
1482-
- results
1482+
- results
14831483
title: SearchResults
14841484

14851485
CollectionsListResponse:
@@ -1718,7 +1718,7 @@ components:
17181718
type: string
17191719
anyOf:
17201720
- enum:
1721-
- ignoreIfKeyAbsent
1721+
- ignoreIfKeyAbsent
17221722
- {}
17231723
default: ignoreIfKeyAbsent
17241724
title: SearchSelectOptionEnum
@@ -1837,7 +1837,7 @@ components:
18371837
title: Datarepositories
18381838
type: object
18391839
required:
1840-
- resources
1840+
- resources
18411841
title: DataRepositories
18421842
DataRepository:
18431843
properties:
@@ -1860,9 +1860,9 @@ components:
18601860
$ref: "#/components/schemas/DataRepositoryType"
18611861
type: object
18621862
required:
1863-
- id
1864-
- title
1865-
- type
1863+
- id
1864+
- title
1865+
- type
18661866
title: DataRepository
18671867
description: DataRepository schema expected by Retrieval.
18681868
DataRepositorySearchResult:
@@ -1871,14 +1871,14 @@ components:
18711871
$ref: "#/components/schemas/DataRepositoryWithDocuments"
18721872
type: object
18731873
required:
1874-
- dataRepository
1874+
- dataRepository
18751875
title: DataRepositorySearchResult
18761876
DataRepositoryType:
18771877
type: string
18781878
anyOf:
18791879
- enum:
1880-
- vector
1881-
- help.sap.com
1880+
- vector
1881+
- help.sap.com
18821882
- {}
18831883
title: DataRepositoryType
18841884
DataRepositoryWithDocuments:
@@ -1904,9 +1904,9 @@ components:
19041904
title: Documents
19051905
type: object
19061906
required:
1907-
- id
1908-
- title
1909-
- documents
1907+
- id
1908+
- title
1909+
- documents
19101910
title: DataRepositoryWithDocuments
19111911
description: DataRepository schema returned by the Vector search endpoint
19121912
Document:
@@ -1927,8 +1927,8 @@ components:
19271927
title: Chunks
19281928
type: object
19291929
required:
1930-
- id
1931-
- chunks
1930+
- id
1931+
- chunks
19321932
title: Document
19331933
DataRepositoryPerFilterSearchResult:
19341934
properties:
@@ -1944,7 +1944,7 @@ components:
19441944
default: []
19451945
type: object
19461946
required:
1947-
- filterId
1947+
- filterId
19481948
title: PerFilterSearchResult
19491949
PerFilterSearchResultError:
19501950
properties:
@@ -1953,7 +1953,7 @@ components:
19531953
title: Message
19541954
type: object
19551955
required:
1956-
- message
1956+
- message
19571957
title: PerFilterSearchResultError
19581958
PerFilterSearchResultWithError:
19591959
properties:
@@ -1967,7 +1967,7 @@ components:
19671967
message: Unknown Error Occurred
19681968
type: object
19691969
required:
1970-
- filterId
1970+
- filterId
19711971
title: PerFilterSearchResultWithError
19721972
RetrievalSearchFilter:
19731973
properties:
@@ -1989,7 +1989,7 @@ components:
19891989
title: Datarepositories
19901990
description: Specify ['*'] to search across all DataRepositories or give a specific list of DataRepository ids.
19911991
default:
1992-
- "*"
1992+
- "*"
19931993
dataRepositoryType:
19941994
type: string
19951995
$ref: "#/components/schemas/DataRepositoryType"
@@ -2017,8 +2017,8 @@ components:
20172017
default: []
20182018
type: object
20192019
required:
2020-
- id
2021-
- dataRepositoryType
2020+
- id
2021+
- dataRepositoryType
20222022
title: SearchFilter
20232023
description: Limit scope of search to certain DataRepositories, Documents or Chunks.
20242024
RetrievalSearchInput:
@@ -2035,16 +2035,16 @@ components:
20352035
title: Filters
20362036
type: object
20372037
required:
2038-
- query
2039-
- filters
2038+
- query
2039+
- filters
20402040
title: SearchInput
20412041
RetrievalDataRepositorySearchResult:
20422042
properties:
20432043
dataRepository:
20442044
$ref: "#/components/schemas/DataRepositoryWithDocuments"
20452045
type: object
20462046
required:
2047-
- dataRepository
2047+
- dataRepository
20482048
title: DataRepositorySearchResult
20492049
RetrievalPerFilterSearchResult:
20502050
properties:
@@ -2060,7 +2060,7 @@ components:
20602060
default: []
20612061
type: object
20622062
required:
2063-
- filterId
2063+
- filterId
20642064
title: PerFilterSearchResult
20652065
RetrievalPerFilterSearchResultWithError:
20662066
properties:
@@ -2069,35 +2069,35 @@ components:
20692069
title: Message
20702070
type: object
20712071
required:
2072-
- message
2072+
- message
20732073
title: PerFilterSearchResultError
20742074
RetrievalSearchResults:
20752075
properties:
20762076
results:
20772077
type: array
20782078
items:
20792079
anyOf:
2080-
- $ref: "#/components/schemas/RetrievalPerFilterSearchResult"
2081-
- $ref: "#/components/schemas/RetrievalPerFilterSearchResultWithError"
2080+
- $ref: "#/components/schemas/RetrievalPerFilterSearchResult"
2081+
- $ref: "#/components/schemas/RetrievalPerFilterSearchResultWithError"
20822082
title: Results
20832083
description: List of returned results.
20842084
type: object
20852085
required:
2086-
- results
2086+
- results
20872087
title: SearchResults
20882088
DataRepositorySearchResults:
20892089
properties:
20902090
results:
20912091
type: array
20922092
items:
20932093
anyOf:
2094-
- $ref: "#/components/schemas/DataRepositoryPerFilterSearchResult"
2095-
- $ref: "#/components/schemas/PerFilterSearchResultWithError"
2094+
- $ref: "#/components/schemas/DataRepositoryPerFilterSearchResult"
2095+
- $ref: "#/components/schemas/PerFilterSearchResultWithError"
20962096
title: Results
20972097
description: List of returned results.
20982098
type: object
20992099
required:
2100-
- results
2100+
- results
21012101
title: SearchResults
21022102
ValidationError:
21032103
properties:
@@ -2114,9 +2114,9 @@ components:
21142114
title: Error Type
21152115
type: object
21162116
required:
2117-
- loc
2118-
- msg
2119-
- type
2117+
- loc
2118+
- msg
2119+
- type
21202120
title: ValidationError
21212121

21222122
### ### ######################## ### ###
@@ -2221,4 +2221,4 @@ components:
22212221
required: false
22222222
schema:
22232223
type: boolean
2224-
example: true
2224+
example: true

0 commit comments

Comments
 (0)