Skip to content

Commit

Permalink
update api/embeddings.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Jan 25, 2024
1 parent d00baa2 commit 7f71d8d
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions api/embeddings.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
openapi: 3.0.3
info:
title: Embeddings API
version: 1.0.0
paths:
/api/embeddings:
post:
responses: {}
tags:
- Embeddings
operationId: create_embeddings
summary: Create Embeddings
description: Create Embeddings
parameters: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateEmbeddingsInput'
required: true
servers: []
components:
schemas:
CreateEmbeddingsInput:
type: object
required:
- text
properties:
text:
type: string
nullable: false
parameters:
page:
name: page
in: query
schema:
format: int64
default: 1
minimum: 0
description: Page number.
limit:
name: limit
in: query
schema:
format: int32
default: 100
maximum: 1000
minimum: 0
description: Number of results per page.
continuation_id:
name: continuation_id
in: query
schema:
format: int64
description: Optional, ID of the last item that was retrieved. If provided,
enables faster pagination.
order:
name: order
in: query
schema:
type: string
description: Optional sort order (asc / desc) - default asc.
tags:
- name: Embeddings

0 comments on commit 7f71d8d

Please sign in to comment.