Arafat Khan created HDDS-17937:
----------------------------------
Summary: Update the Recon AI Assistant admin guide for
conversation memory and fix inaccurate statements.
Key: HDDS-17937
URL: https://issues.apache.org/jira/browse/HDDS-17937
Project: Apache Ozone
Issue Type: Test
Components: documentation, Ozone Recon
Reporter: Arafat Khan
The Recon AI Assistant admin guide has fallen behind the code. It says the
assistant has
no conversation memory, which has been wrong since HDDS-15911, and it has
several other
inaccurate or missing details.
Changes (docs only, one file: 03-recon-ai-assistant.mdx):
Conversation memory and UI
- Replace the "No conversation memory" limit with a short description of how
memory works
(last 8 turns, capped by history.max.chars, used only as a hint, can be
turned off).
- Add a "Using the chat window" section: model picker, Stop, Retry, Regenerate,
Copy,
New chat, and that the chat lives in the browser's session storage.
- Say that earlier turns are re-sent to the LLM provider, in the data-egress
section.
API and configuration
- Add the optional "history" field to the POST /chat request.
- Add the missing keys history.max.chars (default 8000) and max.tokens (default
8192).
- Fix the status codes: a disabled feature returns 404 (the endpoints are not
registered),
and 503 means the queue is full or the request was interrupted.
- Note that two provider calls can exceed request.timeout.ms, so a 504 can
appear first.
- Say the default model lists are examples, since vendors rename models often.
API key storage (JCEKS)
- Add a CredentialShell alternative for images with no "hadoop" command, such
as the
Ozone Docker image.
- Fix rotation: "create" will not overwrite an alias, so use "delete" then
"create".
- Fix the "ozone getconf" check: it reports the key as missing, not empty.
- Note that plaintext keys are also visible on Recon's /conf page.
Accuracy
- Use "Alpha" instead of "Beta/experimental", to match the label in the Recon
UI.
- Remove the reference to CODE_FLOW.md, which does not exist.
- Soften "cannot do anything unsafe" to "cannot modify the cluster", and add a
note that
only key listings have extra argument checks.
Testing
- Checked the doc against the code on the current branch (config keys and
defaults,
status codes, history limits, UI features).
- Ran the CredentialShell and "ozone getconf" commands in a Docker cluster.
- Checked that all internal anchor links resolve to real headings.
- Docs site build not run yet.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]