feat(gooddata-sdk): [AUTO] add gen-ai conversation HTTP API wrapper#1427
Closed
yenkins-admin wants to merge 2 commits intomasterfrom
Closed
feat(gooddata-sdk): [AUTO] add gen-ai conversation HTTP API wrapper#1427yenkins-admin wants to merge 2 commits intomasterfrom
yenkins-admin wants to merge 2 commits intomasterfrom
Conversation
…P006) Introduces CatalogGenAiService and supporting catalog model classes wrapping the new gen-ai conversation HTTP API endpoints from GDAI-1452, GDAI-1449, and GDAI-1448: conversation CRUD, send-message with search options, and response feedback (GET/PATCH). Exports all new public classes from gooddata_sdk.__init__ and registers CatalogGenAiService on GoodDataSdk as catalog_gen_ai property. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1427 +/- ##
==========================================
- Coverage 77.36% 77.25% -0.11%
==========================================
Files 228 230 +2
Lines 14775 14984 +209
==========================================
+ Hits 11430 11576 +146
- Misses 3345 3408 +63 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Add SDK wrapper layer for the new gen-ai conversation HTTP API introduced by GDAI-1452, GDAI-1449, and GDAI-1448.
Problem ID: P006 | Workflow: https://github.com/gooddata/gdc-nas/actions/runs/23137028021
What changed in gdc-nas
c75abfe): Createdmicroservices/gen-ai/src/test/resources/openapi/open-api-spec.json(1483 lines) establishing all gen-ai HTTP API endpoints:POST/GET /conversations,DELETE/GET /conversations/{id},GET /conversations/{id}/items,POST /conversations/{id}/messages. Added docker-compose, nginx/apidocs, and helm template references.55cbf42): AddedAllowedRelationshipTypeDto,ObjectTypeenum (11 values),SendMessageOptionsDto, andSendMessageSearchOptionsDtoschemas. UpdatedSendMessageRequestto include optionaloptionsfield.e58ab04): Added response feedback functionality withGET /conversations/{id}/responsesandPATCH /conversations/{id}/responses/{response_id}endpoints. AddedFeedbackDto,ConversationTurnResponseDto,ResponseFeedbackDtoschemas. Changed DELETE conversation response code from 200 to 204.What was implemented in SDK
Created a new
gen_aipackage undercatalog/workspace/with:CatalogGenAiService: direct HTTP service wrapping all conversation endpoints (list/create/get/delete conversations, list items, send message with options, list responses, update feedback)CatalogConversation,CatalogConversationItem,CatalogConversationTurnResponse,CatalogConversationFeedback,CatalogSendMessageOptions,CatalogSendMessageSearchOptions,CatalogGenAiAllowedRelationshipTypeObjectTypeAliasTypeAlias covering all 11 gen-ai object typesGoodDataSdkascatalog_gen_aigooddata_sdk.__init__Files modified
packages/gooddata-sdk/src/gooddata_sdk/catalog/workspace/gen_ai/__init__.py(new)packages/gooddata-sdk/src/gooddata_sdk/catalog/workspace/gen_ai/conversation.py(new)packages/gooddata-sdk/src/gooddata_sdk/catalog/workspace/gen_ai/service.py(new)packages/gooddata-sdk/src/gooddata_sdk/__init__.pypackages/gooddata-sdk/src/gooddata_sdk/sdk.pypackages/gooddata-sdk/tests/gen_ai/__init__.py(new)packages/gooddata-sdk/tests/gen_ai/test_gen_ai_models.py(new)JIRA: PENDING (Jira ticket will be created after review)
Risk: Low