diff --git a/docs/resources/llama-stack-spec.html b/docs/resources/llama-stack-spec.html
index e487daac3..3d524780a 100644
--- a/docs/resources/llama-stack-spec.html
+++ b/docs/resources/llama-stack-spec.html
@@ -21,7 +21,7 @@
"info": {
"title": "[DRAFT] Llama Stack Specification",
"version": "0.0.1",
- "description": "This is the specification of the llama stack that provides\n a set of endpoints and their corresponding interfaces that are tailored to\n best leverage Llama Models. The specification is still in draft and subject to change.\n Generated at 2024-11-14 14:47:24.435917"
+ "description": "This is the specification of the llama stack that provides\n a set of endpoints and their corresponding interfaces that are tailored to\n best leverage Llama Models. The specification is still in draft and subject to change.\n Generated at 2024-11-14 16:18:00.903125"
},
"servers": [
{
@@ -429,72 +429,6 @@
}
}
},
- "/memory_banks/delete": {
- "post": {
- "responses": {
- "200": {
- "description": "OK"
- }
- },
- "tags": [
- "MemoryBanks"
- ],
- "parameters": [
- {
- "name": "X-LlamaStack-ProviderData",
- "in": "header",
- "description": "JSON-encoded provider data which will be made available to the adapter servicing the API",
- "required": false,
- "schema": {
- "type": "string"
- }
- }
- ],
- "requestBody": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/DeleteMemoryBankRequest"
- }
- }
- },
- "required": true
- }
- }
- },
- "/models/delete": {
- "post": {
- "responses": {
- "200": {
- "description": "OK"
- }
- },
- "tags": [
- "Models"
- ],
- "parameters": [
- {
- "name": "X-LlamaStack-ProviderData",
- "in": "header",
- "description": "JSON-encoded provider data which will be made available to the adapter servicing the API",
- "required": false,
- "schema": {
- "type": "string"
- }
- }
- ],
- "requestBody": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/DeleteModelRequest"
- }
- }
- },
- "required": true
- }
- }
- },
"/inference/embeddings": {
"post": {
"responses": {
@@ -2292,6 +2226,72 @@
}
}
},
+ "/memory_banks/unregister": {
+ "post": {
+ "responses": {
+ "200": {
+ "description": "OK"
+ }
+ },
+ "tags": [
+ "MemoryBanks"
+ ],
+ "parameters": [
+ {
+ "name": "X-LlamaStack-ProviderData",
+ "in": "header",
+ "description": "JSON-encoded provider data which will be made available to the adapter servicing the API",
+ "required": false,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UnregisterMemoryBankRequest"
+ }
+ }
+ },
+ "required": true
+ }
+ }
+ },
+ "/models/unregister": {
+ "post": {
+ "responses": {
+ "200": {
+ "description": "OK"
+ }
+ },
+ "tags": [
+ "Models"
+ ],
+ "parameters": [
+ {
+ "name": "X-LlamaStack-ProviderData",
+ "in": "header",
+ "description": "JSON-encoded provider data which will be made available to the adapter servicing the API",
+ "required": false,
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UnregisterModelRequest"
+ }
+ }
+ },
+ "required": true
+ }
+ }
+ },
"/memory_banks/update": {
"post": {
"responses": {},
@@ -4684,30 +4684,6 @@
"session_id"
]
},
- "DeleteMemoryBankRequest": {
- "type": "object",
- "properties": {
- "memory_bank_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "memory_bank_id"
- ]
- },
- "DeleteModelRequest": {
- "type": "object",
- "properties": {
- "model_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "model_id"
- ]
- },
"EmbeddingsRequest": {
"type": "object",
"properties": {
@@ -7986,6 +7962,30 @@
],
"title": "Response from the synthetic data generation. Batch of (prompt, response, score) tuples that pass the threshold."
},
+ "UnregisterMemoryBankRequest": {
+ "type": "object",
+ "properties": {
+ "memory_bank_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "memory_bank_id"
+ ]
+ },
+ "UnregisterModelRequest": {
+ "type": "object",
+ "properties": {
+ "model_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "model_id"
+ ]
+ },
"UpdateMemoryBankRequest": {
"type": "object",
"properties": {
@@ -8241,14 +8241,6 @@
"name": "DeleteAgentsSessionRequest",
"description": ""
},
- {
- "name": "DeleteMemoryBankRequest",
- "description": ""
- },
- {
- "name": "DeleteModelRequest",
- "description": ""
- },
{
"name": "DoraFinetuningConfig",
"description": ""
@@ -8675,6 +8667,14 @@
"name": "URL",
"description": ""
},
+ {
+ "name": "UnregisterMemoryBankRequest",
+ "description": ""
+ },
+ {
+ "name": "UnregisterModelRequest",
+ "description": ""
+ },
{
"name": "UnstructuredLogEvent",
"description": ""
@@ -8774,8 +8774,6 @@
"Dataset",
"DeleteAgentsRequest",
"DeleteAgentsSessionRequest",
- "DeleteMemoryBankRequest",
- "DeleteModelRequest",
"DoraFinetuningConfig",
"EmbeddingsRequest",
"EmbeddingsResponse",
@@ -8872,6 +8870,8 @@
"TrainingConfig",
"Turn",
"URL",
+ "UnregisterMemoryBankRequest",
+ "UnregisterModelRequest",
"UnstructuredLogEvent",
"UpdateMemoryBankRequest",
"UpdateModelRequest",
diff --git a/docs/resources/llama-stack-spec.yaml b/docs/resources/llama-stack-spec.yaml
index f29945396..8e3187861 100644
--- a/docs/resources/llama-stack-spec.yaml
+++ b/docs/resources/llama-stack-spec.yaml
@@ -867,22 +867,6 @@ components:
- agent_id
- session_id
type: object
- DeleteMemoryBankRequest:
- additionalProperties: false
- properties:
- memory_bank_id:
- type: string
- required:
- - memory_bank_id
- type: object
- DeleteModelRequest:
- additionalProperties: false
- properties:
- model_id:
- type: string
- required:
- - model_id
- type: object
DoraFinetuningConfig:
additionalProperties: false
properties:
@@ -3252,6 +3236,22 @@ components:
format: uri
pattern: ^(https?://|file://|data:)
type: string
+ UnregisterMemoryBankRequest:
+ additionalProperties: false
+ properties:
+ memory_bank_id:
+ type: string
+ required:
+ - memory_bank_id
+ type: object
+ UnregisterModelRequest:
+ additionalProperties: false
+ properties:
+ model_id:
+ type: string
+ required:
+ - model_id
+ type: object
UnstructuredLogEvent:
additionalProperties: false
properties:
@@ -3441,7 +3441,7 @@ info:
description: "This is the specification of the llama stack that provides\n \
\ a set of endpoints and their corresponding interfaces that are tailored\
\ to\n best leverage Llama Models. The specification is still in\
- \ draft and subject to change.\n Generated at 2024-11-14 14:47:24.435917"
+ \ draft and subject to change.\n Generated at 2024-11-14 16:18:00.903125"
title: '[DRAFT] Llama Stack Specification'
version: 0.0.1
jsonSchemaDialect: https://json-schema.org/draft/2020-12/schema
@@ -4171,27 +4171,6 @@ paths:
description: OK
tags:
- Memory
- /memory_banks/delete:
- post:
- parameters:
- - description: JSON-encoded provider data which will be made available to the
- adapter servicing the API
- in: header
- name: X-LlamaStack-ProviderData
- required: false
- schema:
- type: string
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/DeleteMemoryBankRequest'
- required: true
- responses:
- '200':
- description: OK
- tags:
- - MemoryBanks
/memory_banks/get:
get:
parameters:
@@ -4264,6 +4243,27 @@ paths:
responses: {}
tags:
- MemoryBanks
+ /memory_banks/unregister:
+ post:
+ parameters:
+ - description: JSON-encoded provider data which will be made available to the
+ adapter servicing the API
+ in: header
+ name: X-LlamaStack-ProviderData
+ required: false
+ schema:
+ type: string
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/UnregisterMemoryBankRequest'
+ required: true
+ responses:
+ '200':
+ description: OK
+ tags:
+ - MemoryBanks
/memory_banks/update:
post:
parameters:
@@ -4283,27 +4283,6 @@ paths:
responses: {}
tags:
- MemoryBanks
- /models/delete:
- post:
- parameters:
- - description: JSON-encoded provider data which will be made available to the
- adapter servicing the API
- in: header
- name: X-LlamaStack-ProviderData
- required: false
- schema:
- type: string
- requestBody:
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/DeleteModelRequest'
- required: true
- responses:
- '200':
- description: OK
- tags:
- - Models
/models/get:
get:
parameters:
@@ -4374,6 +4353,27 @@ paths:
description: OK
tags:
- Models
+ /models/unregister:
+ post:
+ parameters:
+ - description: JSON-encoded provider data which will be made available to the
+ adapter servicing the API
+ in: header
+ name: X-LlamaStack-ProviderData
+ required: false
+ schema:
+ type: string
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/UnregisterModelRequest'
+ required: true
+ responses:
+ '200':
+ description: OK
+ tags:
+ - Models
/models/update:
post:
parameters:
@@ -5027,12 +5027,6 @@ tags:
- description:
name: DeleteAgentsSessionRequest
-- description:
- name: DeleteMemoryBankRequest
-- description:
- name: DeleteModelRequest
- description:
name: DoraFinetuningConfig
@@ -5327,6 +5321,12 @@ tags:
name: Turn
- description:
name: URL
+- description:
+ name: UnregisterMemoryBankRequest
+- description:
+ name: UnregisterModelRequest
- description:
name: UnstructuredLogEvent
@@ -5411,8 +5411,6 @@ x-tagGroups:
- Dataset
- DeleteAgentsRequest
- DeleteAgentsSessionRequest
- - DeleteMemoryBankRequest
- - DeleteModelRequest
- DoraFinetuningConfig
- EmbeddingsRequest
- EmbeddingsResponse
@@ -5509,6 +5507,8 @@ x-tagGroups:
- TrainingConfig
- Turn
- URL
+ - UnregisterMemoryBankRequest
+ - UnregisterModelRequest
- UnstructuredLogEvent
- UpdateMemoryBankRequest
- UpdateModelRequest