71 lines
No EOL
5.5 KiB
Text
71 lines
No EOL
5.5 KiB
Text
---
|
|
id: update-bank-disposition
|
|
title: "Update memory bank disposition"
|
|
description: "Update bank's disposition traits (skepticism, literalism, empathy)"
|
|
sidebar_label: "Update memory bank disposition"
|
|
hide_title: true
|
|
hide_table_of_contents: true
|
|
api: eJztV8tu2zoQ/RViNjcBWL9yuxHQRdoEaIC0DfK4m8AoaGlssaFIlaTsGIb+vRhSjqQojyK4q6JeyeLM8MzwnCNpBxm61MrSS6MhgZsyEx7ZQui7fxzLpCuNk7TGvBXSO3bg7rD0MpWu4ExJj1aocI1FKXy+PQQOpkQrKOksgwSqUPI7lfzeKQgcSmFFgR6tg+R2B1oUCAmEQJkBB0mIqCpwsPizkhYzSLytkINLcywEJDvw25LSnLdSr4CDl17RjY9C37GzDOp6HtPR+Y8m21LO42qp0R61pyVRlkqmAf74h6Oh7DqblZaa8xId/eu2M1hsB9VBKbXHFVrgUIh7WVQFJO85FFLH62kL/6pN548O6bPZsKa6UGztmLeV81Kv2MH0w/6as/cfHoIOoebQntabAJ236U8BaqqrLfOGUVVbWvRM6qWxRRgnoVsqvJcLhYSuyQjYGva8Cdhpk/sUqqJKcwKUGu1khpZhYWhZKBbO/N4Tqgy9SHPMCFVEgl6mh1DXfA/HLH5g6ntEvO0ecW+8bT/zFuZJS5broKUB4JOh3HwuwgxVhTpFllNLWBgr0TFhkdFwMWNCZ+3MMRsRgntRlLTxrh3uUZ8ER7xH0qP6tX67fO90Fk2jg/4yqm3QYHOfFSZDRdhZMAdi7tBqRlAHQBZdabSLoppNJkF4vbJXVZqic8tKscsmGN6s6b39/I6z8Mazng/9Sus1/+sUf53iz3IKDguR3q2sqfQrWnmIem1G7YM/qKovmt5+874WL6xZSoUd7T+2nbjQ8R3ai5Ux79EMun3BGRMFE8yZpd/QFFGvpEa0bCN9zqYTtkVhHTNLhvclWhlmLzVzXlhflS7gbgwFKod2OjuCgR389tj3hgPHSqYYDLLm8O9sNjTF/4SSWVTTqbXGvt0RifNS0ZX0WLhhgDJpb1Xo7bdleKXrs6LmA83W85YUwlqx7VDn3ESApPrCrV5i2Rd0TqyC08aQ50PDMNg1rb5GSOorbt3EdXjXjjdO9/k2TuL4ntpsH/L5+vpiUDCebYE+N0SesvLhldnnkMB4PR1nuBSV8mPilxvvGprV44bVwIEO9rJ98T1tOf5W/tX0Ur40Yb577FJnTq5yz6gLdnxxNrTXZiEo7yG+IaRIAyEbXn8hy9qyq63zWMRHUYqk6TbkuCQHZrPRBDhUVkECufelS8bjzWYzEmF5ZOxq3OS68fnZp9OvV6fvZqPJKPeFosJrtC7Cm44mowndKo3zhdCdvZrPoSKiCqbRN6Veo7tWYf/Ph1TDF3r4jEslZJBCaHnXMOEW1tMAI3ChcRtynaR10z0h5hxy4zwl7XYL4fDGqrqm2z8rtFtIbucc1sJKsaCTvQ00oesMkqVQDl9o9+Cy0c0hew73Xh6axLEWqqJ/wOEOt52vvmAIOYoMbYAQVz/Fjd4F2bbZAxcjh4kZx2mKpX8xdt5R18XNNQ2v+Tyk5wQkYMWGHEFsIlAT+g4OF+7tQAm9qsh3Eogl6fcLCGZRRA==
|
|
sidebar_class_name: "put api-method"
|
|
info_path: docs/api-reference/endpoints/hindsight-http-api
|
|
custom_edit_url: null
|
|
---
|
|
|
|
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
|
|
import ParamsDetails from "@theme/ParamsDetails";
|
|
import RequestSchema from "@theme/RequestSchema";
|
|
import StatusCodes from "@theme/StatusCodes";
|
|
import OperationTabs from "@theme/OperationTabs";
|
|
import TabItem from "@theme/TabItem";
|
|
import Heading from "@theme/Heading";
|
|
|
|
<Heading
|
|
as={"h1"}
|
|
className={"openapi__heading"}
|
|
children={"Update memory bank disposition"}
|
|
>
|
|
</Heading>
|
|
|
|
<MethodEndpoint
|
|
method={"put"}
|
|
path={"/v1/default/banks/{bank_id}/profile"}
|
|
context={"endpoint"}
|
|
>
|
|
|
|
</MethodEndpoint>
|
|
|
|
|
|
|
|
Update bank's disposition traits (skepticism, literalism, empathy)
|
|
|
|
<Heading
|
|
id={"request"}
|
|
as={"h2"}
|
|
className={"openapi-tabs__heading"}
|
|
children={"Request"}
|
|
>
|
|
</Heading>
|
|
|
|
<ParamsDetails
|
|
parameters={[{"name":"bank_id","in":"path","required":true,"schema":{"type":"string","title":"Bank Id"}}]}
|
|
>
|
|
|
|
</ParamsDetails>
|
|
|
|
<RequestSchema
|
|
title={"Body"}
|
|
body={{"required":true,"content":{"application/json":{"schema":{"properties":{"disposition":{"properties":{"skepticism":{"type":"integer","maximum":5,"minimum":1,"title":"Skepticism","description":"How skeptical vs trusting (1=trusting, 5=skeptical)"},"literalism":{"type":"integer","maximum":5,"minimum":1,"title":"Literalism","description":"How literally to interpret information (1=flexible, 5=literal)"},"empathy":{"type":"integer","maximum":5,"minimum":1,"title":"Empathy","description":"How much to consider emotional context (1=detached, 5=empathetic)"}},"type":"object","required":["skepticism","literalism","empathy"],"title":"DispositionTraits","description":"Disposition traits that influence how memories are formed and interpreted.","example":{"empathy":3,"literalism":3,"skepticism":3}}},"type":"object","required":["disposition"],"title":"UpdateDispositionRequest","description":"Request model for updating disposition traits."}}}}}
|
|
>
|
|
|
|
</RequestSchema>
|
|
|
|
<StatusCodes
|
|
id={undefined}
|
|
label={undefined}
|
|
responses={{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"bank_id":{"type":"string","title":"Bank Id"},"name":{"type":"string","title":"Name"},"disposition":{"properties":{"skepticism":{"type":"integer","maximum":5,"minimum":1,"title":"Skepticism","description":"How skeptical vs trusting (1=trusting, 5=skeptical)"},"literalism":{"type":"integer","maximum":5,"minimum":1,"title":"Literalism","description":"How literally to interpret information (1=flexible, 5=literal)"},"empathy":{"type":"integer","maximum":5,"minimum":1,"title":"Empathy","description":"How much to consider emotional context (1=detached, 5=empathetic)"}},"type":"object","required":["skepticism","literalism","empathy"],"title":"DispositionTraits","description":"Disposition traits that influence how memories are formed and interpreted.","example":{"empathy":3,"literalism":3,"skepticism":3}},"background":{"type":"string","title":"Background"}},"type":"object","required":["bank_id","name","disposition","background"],"title":"BankProfileResponse","description":"Response model for bank profile.","example":{"background":"I am a software engineer with 10 years of experience in startups","bank_id":"user123","disposition":{"empathy":3,"literalism":3,"skepticism":3},"name":"Alice"}}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"}}}}}}
|
|
>
|
|
|
|
</StatusCodes>
|
|
|
|
|
|
|