@hiennc24/constant 1.7.4 → 1.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -820,5 +820,9 @@ declare const COLLECTIONS: {
820
820
  AI_PLATFORM_MESSAGE_COLLECTION_NAME: string;
821
821
  AI_PLATFORM_DOCUMENT_REPOSITORY_NAME: string;
822
822
  AI_PLATFORM_DOCUMENT_COLLECTION_NAME: string;
823
+ AI_PLATFORM_MODEL_CATALOG_REPOSITORY_NAME: string;
824
+ AI_PLATFORM_MODEL_CATALOG_COLLECTION_NAME: string;
825
+ AI_PLATFORM_PROMPT_TEMPLATE_REPOSITORY_NAME: string;
826
+ AI_PLATFORM_PROMPT_TEMPLATE_COLLECTION_NAME: string;
823
827
  };
824
828
  export default COLLECTIONS;
@@ -1034,5 +1034,11 @@ const COLLECTIONS = {
1034
1034
  // Document (knowledge base file)
1035
1035
  AI_PLATFORM_DOCUMENT_REPOSITORY_NAME: "aiPlatformDocument",
1036
1036
  AI_PLATFORM_DOCUMENT_COLLECTION_NAME: "ai_platform_documents",
1037
+ // Model catalog (global reference list of available LLM models)
1038
+ AI_PLATFORM_MODEL_CATALOG_REPOSITORY_NAME: "aiPlatformModelCatalog",
1039
+ AI_PLATFORM_MODEL_CATALOG_COLLECTION_NAME: "ai_platform_model_catalog",
1040
+ // Prompt template (system stock + tenant-custom)
1041
+ AI_PLATFORM_PROMPT_TEMPLATE_REPOSITORY_NAME: "aiPlatformPromptTemplate",
1042
+ AI_PLATFORM_PROMPT_TEMPLATE_COLLECTION_NAME: "ai_platform_prompt_templates",
1037
1043
  };
1038
1044
  exports.default = COLLECTIONS;
@@ -3501,6 +3501,29 @@
3501
3501
  "ACTION_SIMULATE_BOT_STREAM": "simulateBotStream",
3502
3502
  "EVENT_STREAM_MESSAGE_CREATED": "ai-platform.stream.message.created"
3503
3503
  },
3504
+ "API_AI_PLATFORM_MODEL_CATALOG": {
3505
+ "NAME": "svc-ai-platform.model-catalog",
3506
+ "ACTION_CREATE": "create",
3507
+ "ACTION_GET_LIST": "getList",
3508
+ "ACTION_GET_DETAIL": "getDetail",
3509
+ "ACTION_UPDATE": "update",
3510
+ "ACTION_DELETE": "delete"
3511
+ },
3512
+ "API_AI_PLATFORM_PROMPT_TEMPLATES": {
3513
+ "NAME": "svc-ai-platform.prompt-templates",
3514
+ "ACTION_CREATE": "create",
3515
+ "ACTION_GET_LIST": "getList",
3516
+ "ACTION_GET_DETAIL": "getDetail",
3517
+ "ACTION_UPDATE": "update",
3518
+ "ACTION_DELETE": "delete",
3519
+ "ACTION_GET_CATEGORIES": "getCategories",
3520
+ "ACTION_RENDER": "render"
3521
+ },
3522
+ "API_AI_PLATFORM_PLAYGROUND": {
3523
+ "NAME": "svc-ai-platform.playground",
3524
+ "ACTION_RESOLVE_CONVERSATION": "resolveConversation",
3525
+ "ACTION_SEND_MESSAGE": "sendMessage"
3526
+ },
3504
3527
  "BISO24_API_GATEWAY": {
3505
3528
  "NAME": "BISO24-API-GATEWAY"
3506
3529
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hiennc24/constant",
3
- "version": "1.7.4",
3
+ "version": "1.7.5",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {