Fix add agentic memory API#10870
Conversation
|
Thank you for submitting your PR. The PR states are In progress (or Draft) -> Tech review -> Doc review -> Editorial review -> Merged. Before you submit your PR for doc review, make sure the content is technically accurate. If you need help finding a tech reviewer, tag a maintainer. When you're ready for doc review, tag the assignee of this PR. The doc reviewer may push edits to the PR directly or leave comments and editorial suggestions for you to address (let us know in a comment if you have a preference). The doc reviewer will arrange for an editorial review. |
| Field | Data type | Required/Optional | Description | ||
| :--- | :--- | :--- | :--- | ||
| `messages` | List | Required | A list of messages. | ||
| `messages` | List | Required | A list of messages. Each message requires `content` and may include a `role` (commonly `user` or `assistant`). |
There was a problem hiding this comment.
Is role mandatory or optional?
There was a problem hiding this comment.
role is optional when infer=true
kolchfa-aws
left a comment
There was a problem hiding this comment.
Thanks, @nathaliellenaa! One suggestion.
Signed-off-by: Nathalie Jonathan <nathhjo@amazon.com>
Signed-off-by: Nathalie Jonathan <nathhjo@amazon.com>
f2afdef to
2055aad
Compare
|
Thanks @kolchfa-aws! Addressed the comment |
* Fix add memory Signed-off-by: Nathalie Jonathan <nathhjo@amazon.com> * Address comment Signed-off-by: Nathalie Jonathan <nathhjo@amazon.com> --------- Signed-off-by: Nathalie Jonathan <nathhjo@amazon.com> (cherry picked from commit e15e37f) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
Fix add agentic memory API request body and add more information into the request fields table.
Issues Resolved
Closes #10867
Version
3.2
Frontend features
If you're submitting documentation for an OpenSearch Dashboards feature, add a video that shows how a user will interact with the UI step by step. A voiceover is optional.
Checklist
For more information on following Developer Certificate of Origin and signing off your commits, please check here.