Skip to content

Commit ca5fa3f

Browse files
Update api
1 parent 3e2cd0f commit ca5fa3f

1 file changed

Lines changed: 20 additions & 8 deletions

File tree

api/manager.yaml

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1109,9 +1109,7 @@ paths:
11091109
schema:
11101110
type: array
11111111
items:
1112-
type: object
1113-
additionalProperties:
1114-
type: string
1112+
$ref: '#/components/schemas/KgEmbeddingResponse'
11151113
description: Success
11161114
"401":
11171115
description: Authentication Failure
@@ -2784,13 +2782,27 @@ components:
27842782
KgEmbeddingRequest:
27852783
type: object
27862784
properties:
2785+
embedding:
2786+
$ref: '#/components/schemas/EmbeddingRequest'
27872787
graphql_query:
27882788
type: string
2789-
properties:
2790-
type: array
2791-
items:
2792-
type: string
2793-
uniqueItems: true
2789+
description: The GraphQL query used to select entities to create embedding
2790+
vectors for.
2791+
required:
2792+
- embedding
2793+
- graphql_query
2794+
KgEmbeddingResponse:
2795+
type: object
2796+
description: Graph Embedding Response
2797+
properties:
2798+
id:
2799+
type: string
2800+
description: The id/iri of the web page in the Graph.
2801+
model:
2802+
type: string
2803+
required:
2804+
- id
2805+
- model
27942806
Merchant:
27952807
type: object
27962808
description: A Merchant project.

0 commit comments

Comments
 (0)