Skip to content

fix(sdk-rust): ensure documentId is required for insert operations - #58

Merged
Al629176 merged 1 commit into
tinyhumansai:mainfrom
YellowSnnowmann:fix/rust-sdks
Mar 27, 2026
Merged

fix(sdk-rust): ensure documentId is required for insert operations#58
Al629176 merged 1 commit into
tinyhumansai:mainfrom
YellowSnnowmann:fix/rust-sdks

Conversation

@YellowSnnowmann

Copy link
Copy Markdown
Contributor
  • Updated InsertMemoryParams, IngestDocumentParams, and BatchDocumentItem to enforce documentId as a mandatory field.
  • Added validation checks in insert_memory, ingest_document, and ingest_documents_batch to reject empty documentId.
  • Updated related tests and examples to reflect these changes.

- Updated `InsertMemoryParams`, `IngestDocumentParams`, and `BatchDocumentItem` to enforce `documentId` as a mandatory field.
- Added validation checks in `insert_memory`, `ingest_document`, and `ingest_documents_batch` to reject empty `documentId`.
- Updated related tests and examples to reflect these changes.
@Al629176
Al629176 merged commit e4bfdad into tinyhumansai:main Mar 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants