Repository navigation
feat(ai): end-user chat, project AI settings and assistants, embeddings, AI usage, admin-portal switch - #23
Merged
Merged
Conversation
…ddings, AI usage, admin-portal switch 29 methods (sync + async), one per gateway route, written in the repo's module pattern (this SDK is untyped by design; its module generator is gone): - `api.ai` (new): get_end_user_chat_availability, list_end_user_chat_sessions, create_end_user_chat_session, get_end_user_chat_session, rename_end_user_chat_session, delete_end_user_chat_session, pin_end_user_chat_session, archive_end_user_chat_session, get_end_user_chat_entries, set_end_user_chat_entry_feedback, list_end_user_chat_attachments, upload_end_user_chat_attachment, delete_end_user_chat_attachment, list_end_user_chat_memory, forget_end_user_chat_memory, start_end_user_chat_turn. - `hub.account`: get_project_ai_settings, update_project_ai_settings, create_project_ai_assistant, update_project_ai_assistant, delete_project_ai_assistant, get_project_ai_usage, set_admin_portal_enabled. - `hub.ai`: get_embedding_integrations, save_embedding_integration, get_embedding_integration, delete_embedding_integration, test_embedding_integration, set_llm_integration_as_default. Each method has a request-shape test against the capture transport (verb, resolved path, auth and project headers); docs pages and README section. Tests: 657 passed (main 598). ruff and mypy clean. Co-Authored-By: Claude Fable 5.1 <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.
What changed
29 methods (sync + async), one per gateway route, in the repo's module pattern. This SDK is untyped by design and its module generator is gone (see
sdks/docs/tasks/sdk-chat-route-removal.md), so the methods were emitted from the route list by a script and follow the existing files exactly.norbix.api.ai(new)get_end_user_chat_availability,list_end_user_chat_sessions,create_end_user_chat_session,get_end_user_chat_session,rename_end_user_chat_session,delete_end_user_chat_session,pin_end_user_chat_session,archive_end_user_chat_session,get_end_user_chat_entries,set_end_user_chat_entry_feedback,list_end_user_chat_attachments,upload_end_user_chat_attachment,delete_end_user_chat_attachment,list_end_user_chat_memory,forget_end_user_chat_memory,start_end_user_chat_turnnorbix.hub.accountget_project_ai_settings,update_project_ai_settings,create_project_ai_assistant,update_project_ai_assistant,delete_project_ai_assistant,get_project_ai_usage,set_admin_portal_enablednorbix.hub.aiget_embedding_integrations,save_embedding_integration,get_embedding_integration,delete_embedding_integration,test_embedding_integration,set_llm_integration_as_defaultNo SSE client in this SDK: the chat answer stream (
ai-chat:{projectId}:{authId}, refused with 403AiChatChannelRefusedwhen not yours) is documented indocs/api/ai.mdand the README section.Evidence
uv run pytest— 657 passed (main: 598). One request-shape test per method on the capture transport: verb, resolved path,AuthorizationandX-CM-ProjectIdheaders.make lint(ruff) andmake typecheck(mypy, 36 files) — clean.Expected release: v3.2.0 (feat → minor; latest tag v3.1.0).
Campaign "AI two audiences", item
wave-3-sdk-batch.🤖 Generated with Claude Code