fleet-memory/hindsight-docs/docs/api-reference/endpoints/update-bank-personality.api.mdx
2025-11-27 16:22:16 +01:00

71 lines
No EOL
7 KiB
Text

---
id: update-bank-personality
title: "Update memory bank personality"
description: "Update memory bank's Big Five personality traits and bias strength"
sidebar_label: "Update memory bank personality"
hide_title: true
hide_table_of_contents: true
api: eJztWEtv2zgQ/isEe9g2UGwn3Rd0c9qkDdBHkKS9NEExkcYyG4pUyZEdr+H/vhhSsmS7SXezC+wemktkcd6c+T6KS0lQeJl+kuMCDYm3YKDAEg3J60Tm6DOnKlLWyFR+qHIgFMCCP3lxpApxomYoKnTeGtCKFoIcKPICTC5uFHjhyaEpaCoTaSt0wKZOc5nKOhj7HIx97lmQiazAQYmEjuNaSgMlylRGSZXLRCqOpoJg1eHXWjnMZUquxkT6bIolyHQpaVGxnienTCETSYo0v4iJnuZytbqO+ujpyOYLVto2l1lDXIx0KaGqtMpCBsMvniuy7HmrHOdHCn341UtoZ9FWaAx63wvS1OUNOpnIEu5UWZcyPUhkqUx8HnXBv291tzenXRBkBd5V6BSaDMXT0f7BM7kKifhMoSFla/9Y7y92jGyHsSPRRYB35GCGzqtYu7/r/Livv+23v9i5hMIhwo3GxyY83jCw7XRjtfNqsHaWVKZ8+Rif73rq2x57a50/HrTP60F7hMcjntSLblI3fb62cx5jawq92Jh1ZSa65i7zwlbKKGvWRVglbRD25gtmtDGon7oJ+FZfbnXK9i5u1nc7++suq7Mu1MuASjuZne0C1w14zIU1HbqVNkc9CFFBWbHl5XZfjQa/7exCePeNoRsNft0ehdHgl62mGQ2eJz2YGA1+X32vpH3E6RUhYnYv0fOIdzu1aN7HdMXEOhEQWpniG/g+kKsQkENfWeMjrB2ORvxv0+xFnWXo/aTW4rwRlo9G1TUF/CV0TxrmuF/2Ha+vkh9o/QOtf6D1D7T+N9E6kTeQ3RbO1uZBuDrqpL63Db0DcAC2TdzacHi9hYdnzk6Uxh4Cb4N/XOihf/Amqqi4U9AWh2Xt0R0cPt90n8pTAaUA4e2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fk5l+kEtMcH0nx63vDfM3Ff1C3NGa7XDHTNv2Qib3HRvxMNzD5FyNGFGOLyi+hpP/Bvp75zHOGjQtQYZxlW9KDsdY8mzz5c8smvuTvlw6NMpYM5UzvMY6Q2JB6OKuHdUrZAKlMZTfLfn1YV03o=
sidebar_class_name: "put api-method"
info_path: docs/api-reference/endpoints/agent-memory-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 personality"}
>
</Heading>
<MethodEndpoint
method={"put"}
path={"/api/v1/memory banks/{agent_id}/profile"}
context={"endpoint"}
>
</MethodEndpoint>
Update memory bank's Big Five personality traits and bias strength
<Heading
id={"request"}
as={"h2"}
className={"openapi-tabs__heading"}
children={"Request"}
>
</Heading>
<ParamsDetails
parameters={[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string","title":"bank ID"}}]}
>
</ParamsDetails>
<RequestSchema
title={"Body"}
body={{"required":true,"content":{"application/json":{"schema":{"properties":{"personality":{"properties":{"openness":{"type":"number","maximum":1,"minimum":0,"title":"Openness","description":"Openness to experience (0-1)"},"conscientiousness":{"type":"number","maximum":1,"minimum":0,"title":"Conscientiousness","description":"Conscientiousness (0-1)"},"extraversion":{"type":"number","maximum":1,"minimum":0,"title":"Extraversion","description":"Extraversion (0-1)"},"agreeableness":{"type":"number","maximum":1,"minimum":0,"title":"Agreeableness","description":"Agreeableness (0-1)"},"neuroticism":{"type":"number","maximum":1,"minimum":0,"title":"Neuroticism","description":"Neuroticism (0-1)"},"bias_strength":{"type":"number","maximum":1,"minimum":0,"title":"Bias Strength","description":"How strongly personality influences opinions (0-1)"}},"type":"object","required":["openness","conscientiousness","extraversion","agreeableness","neuroticism","bias_strength"],"title":"PersonalityTraits","description":"Personality traits based on Big Five model.","example":{"agreeableness":0.7,"bias_strength":0.7,"conscientiousness":0.6,"extraversion":0.5,"neuroticism":0.3,"openness":0.8}}},"type":"object","required":["personality"],"title":"UpdatePersonalityRequest","description":"Request model for updating personality traits."}}}}}
>
</RequestSchema>
<StatusCodes
id={undefined}
label={undefined}
responses={{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"agent_id":{"type":"string","title":"bank ID"},"name":{"type":"string","title":"Name"},"personality":{"properties":{"openness":{"type":"number","maximum":1,"minimum":0,"title":"Openness","description":"Openness to experience (0-1)"},"conscientiousness":{"type":"number","maximum":1,"minimum":0,"title":"Conscientiousness","description":"Conscientiousness (0-1)"},"extraversion":{"type":"number","maximum":1,"minimum":0,"title":"Extraversion","description":"Extraversion (0-1)"},"agreeableness":{"type":"number","maximum":1,"minimum":0,"title":"Agreeableness","description":"Agreeableness (0-1)"},"neuroticism":{"type":"number","maximum":1,"minimum":0,"title":"Neuroticism","description":"Neuroticism (0-1)"},"bias_strength":{"type":"number","maximum":1,"minimum":0,"title":"Bias Strength","description":"How strongly personality influences opinions (0-1)"}},"type":"object","required":["openness","conscientiousness","extraversion","agreeableness","neuroticism","bias_strength"],"title":"PersonalityTraits","description":"Personality traits based on Big Five model.","example":{"agreeableness":0.7,"bias_strength":0.7,"conscientiousness":0.6,"extraversion":0.5,"neuroticism":0.3,"openness":0.8}},"background":{"type":"string","title":"Background"}},"type":"object","required":["agent_id","name","personality","background"],"title":"AgentProfileResponse","description":"Response model for memory bank profile.","example":{"agent_id":"user123","background":"I am a software engineer with 10 years of experience in startups","name":"Alice","personality":{"agreeableness":0.7,"bias_strength":0.7,"conscientiousness":0.6,"extraversion":0.5,"neuroticism":0.3,"openness":0.8}}}}}},"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>