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

View file

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

View file

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