feat(api): enhance organization shared knowledge base and agent functionalities
- Introduced new interfaces for handling shared knowledge bases and agents, including visibility and selection modes for agents. - Added API functions to list shared knowledge bases and agents within an organization, improving data retrieval for UI components. - Updated existing components to utilize the new API endpoints and interfaces, ensuring accurate representation of shared resources. - Enhanced error handling in API calls to provide clearer feedback on failures. This update improves the functionality and user experience by providing better access to shared resources and enhancing the overall data structure within the application.
This commit is contained in:
@@ -917,6 +917,7 @@ export default {
|
||||
noResult: 'No results',
|
||||
},
|
||||
mentionDetail: {
|
||||
readOnlyFromAgent: 'Read-only in this conversation; not shown in Knowledge Base list',
|
||||
faqCount: '{count} Q&A entries',
|
||||
kbCount: '{count} documents',
|
||||
belongsToKb: 'Knowledge base: ',
|
||||
@@ -1115,6 +1116,8 @@ export default {
|
||||
sharedToOrgs: 'Shared to {count} space(s)',
|
||||
sharedLabel: 'Shared',
|
||||
myLabel: 'Mine',
|
||||
fromAgent: 'From agent {name}',
|
||||
fromAgentShort: 'Agent: {name}',
|
||||
tabs: {
|
||||
all: 'All',
|
||||
myKnowledgeBases: 'My Knowledge Bases',
|
||||
@@ -1145,7 +1148,15 @@ export default {
|
||||
overviewDesc: 'View knowledge base information and source',
|
||||
permission: 'Permission',
|
||||
permissionDesc: 'View your permissions for this knowledge base',
|
||||
sourceOrg: 'Source Space',
|
||||
sourceType: 'Source',
|
||||
sourceTypeKbShare: 'KB shared directly to this space',
|
||||
sourceTypeAgent: 'Visible via shared agent',
|
||||
sourceOrg: 'Space',
|
||||
sourceFromAgent: 'Agent',
|
||||
agentKbStrategy: 'Agent KB strategy',
|
||||
agentKbStrategyAll: 'All knowledge bases',
|
||||
agentKbStrategySelected: 'Selected knowledge bases',
|
||||
agentKbStrategyNone: 'No knowledge bases',
|
||||
sharedAt: 'Shared At',
|
||||
myPermission: 'My Permission',
|
||||
canEdit: 'Can edit knowledge base content',
|
||||
@@ -2531,6 +2542,8 @@ export default {
|
||||
sharedAgents: 'Shared Agents',
|
||||
noSharedAgents: 'No shared agents yet',
|
||||
sharedAgentsDesc: 'Agents shared to this space; members can use them in chat',
|
||||
sharedAgentsKbHint: 'Knowledge bases linked to an agent are only available (read-only) when members use that agent in a conversation (via @). They do not appear in the Knowledge Base list. To let members see or edit a knowledge base in the list, share that knowledge base to this space separately.',
|
||||
sharedAgentsKbHintShort: 'Agent-linked knowledge is read-only in chat; share the KB to this space if members should see or edit it in the list.',
|
||||
noSharedAgentsTip: 'Admins can share agents to this space from agent settings',
|
||||
sharePermissionLabel: 'Space permission',
|
||||
myPermissionLabel: 'My actual permission',
|
||||
|
||||
Reference in New Issue
Block a user