added more docs

This commit is contained in:
Raghotham Murthy 2024-07-11 01:54:03 -07:00
parent 9070d45629
commit 0e4b9efedf
3 changed files with 87 additions and 87 deletions

View file

@ -278,7 +278,7 @@ class MemoryBanks(Protocol):
) -> List[MemoryBank]: ...
@webmethod(route="/memory_banks/drop")
def remove_memory_bank(
def delete_memory_bank(
self,
bank_uuid: str,
) -> str: ...
@ -305,7 +305,7 @@ class MemoryBanks(Protocol):
) -> List[MemoryBankDocument]: ...
@webmethod(route="/memory_bank/delete")
def remove_memory_documents(
def delete_memory_documents(
self,
bank_uuid: str,
document_uuids: List[str],

View file

@ -163,6 +163,77 @@
]
}
},
"/memory_banks/drop": {
"delete": {
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
},
"tags": [
"MemoryBanks"
],
"parameters": [
{
"name": "bank_uuid",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}
]
}
},
"/memory_bank/delete": {
"post": {
"responses": {
"200": {
"description": "OK",
"content": {
"application/jsonl": {
"schema": {
"type": "string"
}
}
}
}
},
"tags": [
"MemoryBanks"
],
"parameters": [
{
"name": "bank_uuid",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"required": true
}
}
},
"/datasets/get": {
"get": {
"responses": {
@ -825,77 +896,6 @@
"required": true
}
}
},
"/memory_banks/drop": {
"delete": {
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
},
"tags": [
"MemoryBanks"
],
"parameters": [
{
"name": "bank_uuid",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}
]
}
},
"/memory_bank/delete": {
"post": {
"responses": {
"200": {
"description": "OK",
"content": {
"application/jsonl": {
"schema": {
"type": "string"
}
}
}
}
},
"tags": [
"MemoryBanks"
],
"parameters": [
{
"name": "bank_uuid",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"required": true
}
}
}
},
"jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
@ -3331,26 +3331,26 @@
}
],
"tags": [
{
"name": "AgenticSystem"
},
{
"name": "RewardScoring"
},
{
"name": "PostTraining"
},
{
"name": "Datasets"
},
{
"name": "Inference"
},
{
"name": "PostTraining"
},
{
"name": "RewardScoring"
},
{
"name": "SyntheticDataGeneration"
},
{
"name": "MemoryBanks"
},
{
"name": "AgenticSystem"
"name": "SyntheticDataGeneration"
},
{
"name": "ShieldConfig",

View file

@ -2023,13 +2023,13 @@ security:
servers:
- url: http://any-hosted-llama-stack.com
tags:
- name: AgenticSystem
- name: RewardScoring
- name: PostTraining
- name: Datasets
- name: Inference
- name: PostTraining
- name: RewardScoring
- name: SyntheticDataGeneration
- name: MemoryBanks
- name: AgenticSystem
- name: SyntheticDataGeneration
- description: <SchemaDefinition schemaRef="#/components/schemas/ShieldConfig" />
name: ShieldConfig
- description: <SchemaDefinition schemaRef="#/components/schemas/AgenticSystemCreateRequest"