Skip to content

Commit

Permalink
Merge pull request #756 from wso2/ai_api_gateway
Browse files Browse the repository at this point in the history
Add AI API Related UIs
  • Loading branch information
AnuGayan authored Sep 26, 2024
2 parents 7432d72 + c3eec4c commit 078b813
Show file tree
Hide file tree
Showing 42 changed files with 4,415 additions and 290 deletions.
65 changes: 64 additions & 1 deletion portals/admin/src/main/webapp/site/public/locales/en.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"Admin.Addons.Help.Base.title": "Help",
"Admin.AiVendor.form.llm.auth.select.input.message": "Authorization key",
"Admin.AiVendor.label.apiVersion": "API Version",
"Admin.KeyManager.form.type": "Key Manager Type",
"Admin.KeyManager.label.ConsumerKey.Claim": "Consumer Key Claim URI",
"Admin.KeyManager.label.DisplayName": "Display Name",
Expand Down Expand Up @@ -73,23 +75,34 @@
"Admin.Throttling.Custom.policy.add.siddhi.query": "Siddhi Query:",
"Admin.Throttling.Custom.policy.add.siddhi.query.description": "The following sample query will allow 5 requests per minute for an Admin user.",
"Admin.Throttling.Custom.policy.add.siddhi.query.key.template": "Key Template : $userId",
"Admin.Throttling.Subscription.Throttling.Policy.add.completion.token.count.helper.text": "Number of completion tokens allowed",
"Admin.Throttling.Subscription.Throttling.Policy.add.prompt.token.count.helper.text": "Number of prompt tokens allowed",
"Admin.Throttling.Subscription.Throttling.Policy.add.request.count.helper.text": "Number of requests allowed",
"Admin.Throttling.Subscription.Throttling.Policy.add.time.days": "Day(s)",
"Admin.Throttling.Subscription.Throttling.Policy.add.time.hours": "Hour(s)",
"Admin.Throttling.Subscription.Throttling.Policy.add.time.minutes": "Minute(s)",
"Admin.Throttling.Subscription.Throttling.Policy.add.time.months": "Month(s)",
"Admin.Throttling.Subscription.Throttling.Policy.add.time.years": "Year(s)",
"Admin.Throttling.Subscription.Throttling.Policy.add.total.token.count.helper.text": "Number of total tokens allowed",
"Admin.Throttling.Subscription.Throttling.policy.table.header.completion.token.count": "Completion Token Count",
"Admin.Throttling.Subscription.Throttling.policy.table.header.name": "Name",
"Admin.Throttling.Subscription.Throttling.policy.table.header.prompt.token.count": "Prompt Token Count",
"Admin.Throttling.Subscription.Throttling.policy.table.header.quota": "Quota",
"Admin.Throttling.Subscription.Throttling.policy.table.header.quota.policy": "Quota Policy",
"Admin.Throttling.Subscription.Throttling.policy.table.header.rate.limit": "Rate Limit",
"Admin.Throttling.Subscription.Throttling.policy.table.header.time.unit": "Time Unit",
"Admin.Throttling.Subscription.Throttling.policy.table.header.total.token.count": "Total Token Count",
"Admin.Throttling.Subscription.Throttling.policy.table.header.unit.time": "Unit Time",
"Admin.components.form.delete.btn": "Delete",
"AdminPages.Addons.InlineProgress.message": "Loading...",
"AdminPages.Addons.ListBase.noDataError": "Error while retrieving data.",
"AdminPages.Addons.ListBase.nodata.message": "No items yet",
"AdminPages.Addons.ListBase.reload": "Reload",
"AdminPages.AiVendor.Delete.form.delete.confirmation.message": "Are you sure you want to delete this AI Vendor ?",
"AdminPages.AiVendor.Delete.form.delete.dialog.btn": "Delete",
"AdminPages.AiVendor.Delete.form.delete.dialog.title": "Delete AI Vendor ?",
"AdminPages.AiVendor.Delete.form.delete.successful": "AI Vendor deleted successfully",
"AdminPages.AiVendors.List.empty.content.Aivendors": "It is possible to register an AI Vendor.",
"AdminPages.ApiCategories.AddEdit.form.add.successful": "API Category added successfully",
"AdminPages.ApiCategories.AddEdit.form.description": "Description",
"AdminPages.ApiCategories.AddEdit.form.description.helper.text": "Description of the API category",
Expand Down Expand Up @@ -149,6 +162,47 @@
"AdminPagesGatewayEnvironments.AddEditGWEnvironment.form.environment.displayName.empty": "Display Name is Empty",
"AdminPagesGatewayEnvironments.AddEditGWEnvironment.form.environment.vhost.duplicate": "VHosts are duplicated",
"AdminPagesGatewayEnvironments.AddEditGWEnvironment.form.environment.vhost.empty": "VHost is empty",
"AiVendor.add.success.msg": "- AI Vendor added successfully.",
"AiVendor.edit.success": "- AI Vendor edited successfully.",
"AiVendors.AddEditAiVendor.AiVendor.configurations.llm": "LLM Configurations",
"AiVendors.AddEditAiVendor.AiVendor.configurations.llm.auth": "LLM Provider Auth Configurations",
"AiVendors.AddEditAiVendor.AiVendor.general.details.description.llm": "Configure to extract LLM related metadata",
"AiVendors.AddEditAiVendor.AiVendor.general.details.description.llm.auth": "Configure to add LLM provider authorization",
"AiVendors.AddEditAiVendor.apiDefinition": "API Definition",
"AiVendors.AddEditAiVendor.apiDefinition.description": "Upload API Definition of the AI Vendor.",
"AiVendors.AddEditAiVendor.connectorType": "Connector Type for AI Vendor",
"AiVendors.AddEditAiVendor.connectorType.description": "Reference to the connector model for the AI vendor",
"AiVendors.AddEditAiVendor.form.add": "Add",
"AiVendors.AddEditAiVendor.form.cancel": "Cancel",
"AiVendors.AddEditAiVendor.form.connectorType": "Connector Type",
"AiVendors.AddEditAiVendor.form.description": "Description",
"AiVendors.AddEditAiVendor.form.description.help": "Description of the AI Vendor.",
"AiVendors.AddEditAiVendor.form.displayName.help": "API Version of the AI Vendor.",
"AiVendors.AddEditAiVendor.form.has.errors": "One or more fields contain errors.",
"AiVendors.AddEditAiVendor.form.name": "Name",
"AiVendors.AddEditAiVendor.form.name.help": "Connector Type for AI Vendor.",
"AiVendors.AddEditAiVendor.form.update.btn": "Update",
"AiVendors.AddEditAiVendor.general.details": "General Details",
"AiVendors.AddEditAiVendor.general.details.description": "Provide name and description of the AI Vendor.",
"AiVendors.AddEditAiVendor.is.empty.error": "is empty",
"AiVendors.AddEditAiVendor.is.empty.error.apiVersion": "Required field is empty.",
"AiVendors.AddEditAiVendor.is.empty.error.attributeIdentifier": "Attribute identifier is required.",
"AiVendors.AddEditAiVendor.is.empty.error.connectorType": "Connector type is required.",
"AiVendors.AddEditAiVendor.is.empty.error.inputSource": "Input source is required.",
"AiVendors.AddEditAiVendor.title.edit": "AI Vendor - Edit",
"AiVendors.AddEditAiVendor.title.new": "AI Vendor - Create new",
"AiVendors.AiAPIDefinition.browse.files.to.upload": "Browse File to Upload",
"AiVendors.AiAPIDefinition.drag.and.drop.message": "Drag and Drop files here {break} or {break}",
"AiVendors.ListAiVendors.List.title": "AI Vendors",
"AiVendors.ListAiVendors.addNewAiVendor": "Add AI Vendor",
"AiVendors.ListAiVendors.empty.title": "AI Vendors",
"AiVendors.ListAiVendors.table.header.label.aiVendorName": "AI Vendor Name",
"AiVendors.ListAiVendors.table.header.label.apiVersion": "API Version",
"AiVendors.ListAiVendors.table.header.label.builtInSupport": "Type",
"AiVendors.ListAiVendors.table.header.label.description": "Description",
"AiVendors.ListAiVendors.table.is.used.delete.tooltip": "Default AI Vendors cannot be deleted",
"AiVendors.OpenAPI.file.error": "Error reading file",
"AiVendors.OpenAPI.override.message": "Upload new file to override the current openapi",
"Api.Name": "API Name",
"Api.Provider": "Provider",
"Api.Version": "Version",
Expand Down Expand Up @@ -212,6 +266,9 @@
"Base.RouteMenuMapping.advanced.throttling.policies": "Advanced Policies",
"Base.RouteMenuMapping.advanced.throttling.policies.Adding": "Add Advanced Policy",
"Base.RouteMenuMapping.advanced.throttling.policies.Editing": "Edit Advanced Policy",
"Base.RouteMenuMapping.aivendors": "AI Vendors",
"Base.RouteMenuMapping.aivendors.items.Adding": "Add AI Vendor",
"Base.RouteMenuMapping.aivendors.items.Editing": "Edit AI Vendor",
"Base.RouteMenuMapping.api.categories": "API Categories",
"Base.RouteMenuMapping.api.product.state.change": "API Product State Change",
"Base.RouteMenuMapping.api.revision.deployment": "API Revision Deployment",
Expand Down Expand Up @@ -782,6 +839,7 @@
"Throttling.Subscription.AddEdit.form.add": "Save",
"Throttling.Subscription.AddEdit.form.add.data.amount.helper.text": "Bandwidth allowed",
"Throttling.Subscription.AddEdit.form.cancel": "Cancel",
"Throttling.Subscription.AddEdit.form.completionTokenCount.count": "Completion Token Count",
"Throttling.Subscription.AddEdit.form.dataAmount.name": "Data Bandwidth",
"Throttling.Subscription.AddEdit.form.description": "Description",
"Throttling.Subscription.AddEdit.form.description.help": "Description of the rate limiting policy",
Expand All @@ -792,8 +850,10 @@
"Throttling.Subscription.AddEdit.form.max.webhooks.connections": "Max Subscriptions",
"Throttling.Subscription.AddEdit.form.name.help": "Name of the rate limiting policy",
"Throttling.Subscription.AddEdit.form.policyName": "Name",
"Throttling.Subscription.AddEdit.form.promptTokenCount.count": "Prompt Token Count",
"Throttling.Subscription.AddEdit.form.request.rate": "Request Rate",
"Throttling.Subscription.AddEdit.form.requestCount.count": "Request Count",
"Throttling.Subscription.AddEdit.form.totalTokenCount.count": "Total Token Count",
"Throttling.Subscription.AddEdit.form.unit.time.label": "Unit Time",
"Throttling.Subscription.AddEdit.general.details": "General Details",
"Throttling.Subscription.AddEdit.general.details.description": "Provide the name and description of the subscription policy.",
Expand All @@ -803,11 +863,14 @@
"Throttling.Subscription.AddEdit.permissions.add.role.placeholder": "Type roles and press Enter",
"Throttling.Subscription.AddEdit.policy.flags.add.description": "Define the billing plan for the subscription policy. Enable stop on quota reach to block invoking an API when the defined quota is reached.",
"Throttling.Subscription.AddEdit.quota.limits": "Quota Limits",
"Throttling.Subscription.AddEdit.quota.limits.ai.description": "Specify the quota limits for AI API Subscription policy.",
"Throttling.Subscription.AddEdit.quota.policies.add.description": "Request Count and Request Bandwidth are the two options for Quota Limit. You can use the option according to your requirement.",
"Throttling.Subscription.AddEdit.quota.policies.add.limits.event.count": "Event Based (Async API)",
"Throttling.Subscription.AddEdit.quota.policies.add.limits.request.bandwidth": "Request Bandwidth",
"Throttling.Subscription.AddEdit.quota.policies.add.limits.request.count": "Request Count",
"Throttling.Subscription.AddEdit.subscription.count.add.description": "Maximum number of webhooks allowed for a Webhooks API using this policy.",
"Throttling.Subscription.AddEdit.title.AIPolicy.add": "AI API Subscription Rate Limiting Policy - Create new",
"Throttling.Subscription.AddEdit.title.AIPolicy.edit": "AI API Subscription Rate Limiting Policy - Edit",
"Throttling.Subscription.AddEdit.title.add": "Subscription Rate Limiting Policy - Create new",
"Throttling.Subscription.AddEdit.title.edit": "Subscription Rate Limiting Policy - Edit",
"Throttling.Subscription.AddEdit.unitTime": "Unit Time",
Expand Down Expand Up @@ -1042,4 +1105,4 @@
"error.list.404.description": "The page you are looking for might have been removed, had its name changed or is temporarily unavailable.",
"error.list.500": "500 : The page cannot be displayed.",
"error.list.500.description": "The server encountered an internal error or misconfiguration and was unable to complete your request."
}
}
Loading

0 comments on commit 078b813

Please sign in to comment.