Skip to content

Commit

Permalink
bump for vector DBs
Browse files Browse the repository at this point in the history
  • Loading branch information
ajar98 committed Aug 26, 2023
1 parent af6e53d commit 2799d6f
Showing 1 changed file with 175 additions and 0 deletions.
175 changes: 175 additions & 0 deletions fern/openapi/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1126,6 +1126,166 @@
},
"security": [{ "HTTPBearer": [] }]
}
},
"/v1/vector_databases": {
"get": {
"tags": ["vector_databases"],
"summary": "Get Vector Database",
"operationId": "get_vector_database",
"parameters": [
{
"required": true,
"schema": { "type": "string", "format": "uuid", "title": "Id" },
"name": "id",
"in": "query"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PineconeVectorDatabase"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": { "$ref": "#/components/schemas/HTTPValidationError" }
}
}
}
},
"security": [{ "HTTPBearer": [] }]
}
},
"/v1/vector_databases/list": {
"get": {
"tags": ["vector_databases"],
"summary": "List Vector Databases",
"operationId": "list_vector_databases",
"parameters": [
{
"required": false,
"schema": { "type": "integer", "title": "Page", "default": 1 },
"name": "page",
"in": "query"
},
{
"required": false,
"schema": { "type": "integer", "title": "Size", "default": 10 },
"name": "size",
"in": "query"
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": { "$ref": "#/components/schemas/VectorDatabasePage" }
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": { "$ref": "#/components/schemas/HTTPValidationError" }
}
}
}
},
"security": [{ "HTTPBearer": [] }]
}
},
"/v1/vector_databases/create": {
"post": {
"tags": ["vector_databases"],
"summary": "Create Vector Database",
"operationId": "create_vector_database",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PineconeVectorDatabaseParams"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PineconeVectorDatabase"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": { "$ref": "#/components/schemas/HTTPValidationError" }
}
}
}
},
"security": [{ "HTTPBearer": [] }]
}
},
"/v1/vector_databases/update": {
"post": {
"tags": ["vector_databases"],
"summary": "Update Vector Database",
"operationId": "update_vector_database",
"parameters": [
{
"required": true,
"schema": { "type": "string", "format": "uuid", "title": "Id" },
"name": "id",
"in": "query"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PineconeVectorDatabaseUpdateParams"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PineconeVectorDatabase"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": { "$ref": "#/components/schemas/HTTPValidationError" }
}
}
}
},
"security": [{ "HTTPBearer": [] }]
}
}
},
"components": {
Expand Down Expand Up @@ -2407,6 +2567,21 @@
"required": ["loc", "msg", "type"],
"title": "ValidationError"
},
"VectorDatabasePage": {
"properties": {
"items": {
"items": { "$ref": "#/components/schemas/PineconeVectorDatabase" },
"type": "array",
"title": "Items"
},
"page": { "type": "integer", "title": "Page" },
"size": { "type": "integer", "title": "Size" },
"has_more": { "type": "boolean", "title": "Has More" }
},
"type": "object",
"required": ["items", "page", "size", "has_more"],
"title": "VectorDatabasePage"
},
"VoicePage": {
"properties": {
"items": {
Expand Down

0 comments on commit 2799d6f

Please sign in to comment.