Knowledge

update knowledge group

Changed on

Update a RAG group

put/v1/knowledge/groups/{id}

Request

  • Base URL
    https://api.anam.ai
  • URL
    https://api.anam.ai/v1/knowledge/groups/{id}
  • Auth
    HTTP bearer

Path parameters

idstring required

Unique identifier of the knowledge group

Request body

namestring
descriptionstring
chunkSizeinteger nullable

Default maximum tokens per chunk for documents processed in this group. Send null to reset it to the default of 350. Changing a default does not re-chunk existing documents; it applies the next time each document without its own override is processed or revectorised.

chunkOverlapinteger nullable

Default token overlap for documents processed in this group. Must be at most half of chunkSize, or at most 175 when chunkSize is not set. Send null to reset it to the default of 0. Changing a default does not re-chunk existing documents; it applies the next time each document without its own override is processed or revectorised.

Response

Successfully updated RAG group

idstring uuid

Unique identifier for the knowledge group.

namestring

Human-readable name for the group.

descriptionstring nullable

Free-form description of what the group contains.

documentCountinteger

Number of non-deleted documents currently in the group.

chunkSizeinteger nullable

Default maximum tokens per chunk for documents in this group. Null means documents use the default of 350.

chunkOverlapinteger nullable

Default token overlap for documents in this group. Null means documents use the default of 0.

createdAtstring date-time

Timestamp when the group was created.

updatedAtstring date-time nullable

Timestamp when the group was last updated.

Changes

    • info

      added the non-success response with the status

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status