feat(gooddata-sdk): [AUTO] Add CatalogMemoryItem entity model and CRUD service methods#1345
Open
yenkins-admin wants to merge 1 commit intomasterfrom
Open
feat(gooddata-sdk): [AUTO] Add CatalogMemoryItem entity model and CRUD service methods#1345yenkins-admin wants to merge 1 commit intomasterfrom
yenkins-admin wants to merge 1 commit intomasterfrom
Conversation
…D service methods Added MemoryItemStrategy TypeAlias (Literal['AUTO', 'ALWAYS']) to analytics_model.py and updated CatalogDeclarativeMemoryItem.strategy field type annotation. Created CatalogMemoryItem entity model wrapping JsonApiMemoryItemIn/Patch API client models. Added list_memory_items, get_memory_item, create_memory_item, patch_memory_item, and delete_memory_item service methods to CatalogWorkspaceService. Exported new public types CatalogMemoryItem, CatalogMemoryItemAttributes, CatalogMemoryItemPatch, CatalogMemoryItemPatchAttributes, and MemoryItemStrategy from gooddata_sdk package. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adds
CatalogMemoryItementity model and five CRUD service methods (list_memory_items,get_memory_item,create_memory_item,patch_memory_item,delete_memory_item) togooddata-sdk, exposing entity-level AI memory item operations backed by the newentities_apiendpoints.P005 | https://github.com/gooddata/gdc-nas/actions/runs/22179401494
What changed in gdc-nas
Commit ed043a4 —
chore(ai): Declarative metadata sync for AI memories (#19923)merged via PR #19923:DeclarativeMemoryItemKotlin model added tometadata-modellibrary with fields:id,title,description,tags,strategy(enum:AUTO|ALWAYS),instruction,keywords,isDisabled,createdBy/At,modifiedBy/AtDeclarativeAnalyticsLayerupdated with optionalmemoryItemslist fieldLayoutService,AnalyticsService,WorkspaceService, andWorkspaceLayoutwired for declarative memory item CRUD and serialization/deserializationDeclarativeMemoryItemschema and CRUD endpoints (create/get/list/delete/patch)gen-aiservice updated to handleMemoryItemsync to QdrantWhat was implemented in SDK
analytics_model.py: AddedMemoryItemStrategy = Literal['AUTO', 'ALWAYS']TypeAlias; applied toCatalogDeclarativeMemoryItem.strategyfield annotationentity_model/memory_item.py(new):CatalogMemoryItemwrappingJsonApiMemoryItemIn/JsonApiMemoryItemPatchAPI client classes, withCatalogMemoryItemAttributes,CatalogMemoryItemPatch, andCatalogMemoryItemPatchDocumentclassesservice.py: Added five CRUD service methods callingentities_apiendpoints:list_memory_items,get_memory_item,create_memory_item,patch_memory_item,delete_memory_item__init__.py: ExportedCatalogMemoryItem,CatalogMemoryItemAttributes,CatalogMemoryItemPatch,CatalogMemoryItemPatchAttributes, andMemoryItemStrategyFiles modified
JIRA: N/A (Jira sandbox unavailable at time of delivery — ticket to be linked manually)
Risk: Low