-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added swag_from to cleanup the base server code
- Loading branch information
Showing
10 changed files
with
211 additions
and
235 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
This API is used to return a task status based on ID | ||
--- | ||
tags: | ||
- AI | ||
parameters: | ||
- name: task_id | ||
in: path | ||
required: true | ||
responses: | ||
200: | ||
description: A response of available resources | ||
405: | ||
description: Method not allowed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
This API is used to return a task status based on ID | ||
--- | ||
tags: | ||
- AI | ||
parameters: | ||
- name: task_id | ||
in: path | ||
required: true | ||
responses: | ||
200: | ||
description: A response of available resources | ||
405: | ||
description: Method not allowed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
This api is used to delete an item or items from QDRANT | ||
--- | ||
tags: | ||
- AI | ||
parameters: | ||
- name: body | ||
in: body | ||
required: true | ||
schema: | ||
type: object | ||
required: | ||
- item | ||
- collection | ||
properties: | ||
items: | ||
type: string | ||
description: an item to delete. could be a string or a list | ||
default: "" | ||
collection: | ||
type: string | ||
description: collection to query from | ||
default: "" | ||
responses: | ||
201: | ||
description: operation completed |
Oops, something went wrong.