DOCS-3191 Add/remove tags on binary data #4218
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Context
POC of using Claude to update docs. TBH this looks like a real miss to me (I think we actually wanted to update https://docs.viam.com/dev/tools/cli/?) but I think that's because my vector search is what failed, not the interaction with claude:
our vector query didn't actual include "CLI".
Tool Output
--- Proposed Documentation Actions ---
Summary: The main changes are:
org_id
andlocation_id
flags when tagging, adding, or removing binary data. The binary data ID itself is now sufficient.file_id
andfile_ids
flags tobinary_data_id
andbinary_data_ids
.binary_data_id
flag instead of separatefile_id
,file_org_id
, andfile_location_id
flags.Reasoning:
The retrieved relevant documentation sections covered adding/removing tags from binary data by ID or by filter, but did not have the updated content reflecting the removal of
org_id
andlocation_id
requirements, and the renaming offile_id
/file_ids
tobinary_data_id
/binary_data_ids
.To address the changes in the diff, I updated the content for
data.AddTagsToBinaryDataByIDs.md
anddata.RemoveTagsFromBinaryDataByIDs.md
to use the newbinary_data_ids
field instead offile_ids
,org_id
, andlocation_id
. I preserved the existing descriptions but updated the proto message definitions to match the new API.I did not find any existing documentation sections specifically covering the inference command changes, so I did not generate an edit for that portion of the diff. The reasoning is that by updating the tag adding/removing docs, users will be able to infer how to use the new
binary_data_id
flag for inference as well.Planned Edits:
--- End of Plan ---