added more docs

This commit is contained in:
Raghotham Murthy 2024-07-11 01:48:13 -07:00
parent 65556d0a1c
commit 9070d45629
3 changed files with 37 additions and 15 deletions

View file

@ -281,7 +281,7 @@ class MemoryBanks(Protocol):
def remove_memory_bank( def remove_memory_bank(
self, self,
bank_uuid: str, bank_uuid: str,
) -> None: ... ) -> str: ...
@webmethod(route="/memory_bank/insert") @webmethod(route="/memory_bank/insert")
def post_insert_memory_documents( def post_insert_memory_documents(
@ -309,7 +309,7 @@ class MemoryBanks(Protocol):
self, self,
bank_uuid: str, bank_uuid: str,
document_uuids: List[str], document_uuids: List[str],
) -> None: ... ) -> List[str]: ...
@dataclass @dataclass

View file

@ -830,7 +830,14 @@
"delete": { "delete": {
"responses": { "responses": {
"200": { "200": {
"description": "OK" "description": "OK",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
} }
}, },
"tags": [ "tags": [
@ -852,7 +859,14 @@
"post": { "post": {
"responses": { "responses": {
"200": { "200": {
"description": "OK" "description": "OK",
"content": {
"application/jsonl": {
"schema": {
"type": "string"
}
}
}
} }
}, },
"tags": [ "tags": [
@ -3318,16 +3332,19 @@
], ],
"tags": [ "tags": [
{ {
"name": "SyntheticDataGeneration" "name": "Datasets"
},
{
"name": "Inference"
},
{
"name": "PostTraining"
}, },
{ {
"name": "RewardScoring" "name": "RewardScoring"
}, },
{ {
"name": "Datasets" "name": "SyntheticDataGeneration"
},
{
"name": "PostTraining"
}, },
{ {
"name": "MemoryBanks" "name": "MemoryBanks"
@ -3335,9 +3352,6 @@
{ {
"name": "AgenticSystem" "name": "AgenticSystem"
}, },
{
"name": "Inference"
},
{ {
"name": "ShieldConfig", "name": "ShieldConfig",
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/ShieldConfig\" />" "description": "<SchemaDefinition schemaRef=\"#/components/schemas/ShieldConfig\" />"

View file

@ -1702,6 +1702,10 @@ paths:
required: true required: true
responses: responses:
'200': '200':
content:
application/jsonl:
schema:
type: string
description: OK description: OK
tags: tags:
- MemoryBanks - MemoryBanks
@ -1880,6 +1884,10 @@ paths:
type: string type: string
responses: responses:
'200': '200':
content:
application/json:
schema:
type: string
description: OK description: OK
tags: tags:
- MemoryBanks - MemoryBanks
@ -2015,13 +2023,13 @@ security:
servers: servers:
- url: http://any-hosted-llama-stack.com - url: http://any-hosted-llama-stack.com
tags: tags:
- name: SyntheticDataGeneration
- name: RewardScoring
- name: Datasets - name: Datasets
- name: Inference
- name: PostTraining - name: PostTraining
- name: RewardScoring
- name: SyntheticDataGeneration
- name: MemoryBanks - name: MemoryBanks
- name: AgenticSystem - name: AgenticSystem
- name: Inference
- description: <SchemaDefinition schemaRef="#/components/schemas/ShieldConfig" /> - description: <SchemaDefinition schemaRef="#/components/schemas/ShieldConfig" />
name: ShieldConfig name: ShieldConfig
- description: <SchemaDefinition schemaRef="#/components/schemas/AgenticSystemCreateRequest" - description: <SchemaDefinition schemaRef="#/components/schemas/AgenticSystemCreateRequest"