@onereach/idw-init-account-resources 0.20.3 → 0.20.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.
- package/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +12 -0
- package/dist/assets/db_migrations/20260203090437-remove-coming-soon-domain.js +107 -0
- package/dist/assets/db_migrations/20260203090437-remove-coming-soon-domain.js.map +1 -0
- package/dist/assets/default_knowledges/gsx_information.js +1 -1
- package/dist/assets/default_knowledges/gsx_information.js.map +1 -1
- package/dist/assets/default_knowledges/idw_admin_guide.js +15 -0
- package/dist/assets/default_knowledges/idw_admin_guide.js.map +1 -0
- package/dist/assets/default_knowledges/idw_feeds.js +15 -0
- package/dist/assets/default_knowledges/idw_feeds.js.map +1 -0
- package/dist/assets/default_knowledges/idw_general_overview.js +2 -2
- package/dist/assets/default_knowledges/idw_general_overview.js.map +1 -1
- package/dist/assets/default_knowledges/idw_key_features.js +2 -2
- package/dist/assets/default_knowledges/idw_key_features.js.map +1 -1
- package/dist/assets/default_knowledges/idw_knowledge.js +15 -0
- package/dist/assets/default_knowledges/idw_knowledge.js.map +1 -0
- package/dist/assets/default_knowledges/idw_settings/idw_access_settings.js +15 -0
- package/dist/assets/default_knowledges/idw_settings/idw_access_settings.js.map +1 -0
- package/dist/assets/default_knowledges/idw_settings/idw_basic_info_settings.js +15 -0
- package/dist/assets/default_knowledges/idw_settings/idw_basic_info_settings.js.map +1 -0
- package/dist/assets/default_knowledges/idw_settings/idw_customization_settings.js +15 -0
- package/dist/assets/default_knowledges/idw_settings/idw_customization_settings.js.map +1 -0
- package/dist/assets/default_knowledges/idw_settings/idw_datasources_settings.js +15 -0
- package/dist/assets/default_knowledges/idw_settings/idw_datasources_settings.js.map +1 -0
- package/dist/assets/default_knowledges/idw_settings/idw_domains_settings.js +15 -0
- package/dist/assets/default_knowledges/idw_settings/idw_domains_settings.js.map +1 -0
- package/dist/assets/default_knowledges/idw_settings/idw_settings.js +15 -0
- package/dist/assets/default_knowledges/idw_settings/idw_settings.js.map +1 -0
- package/dist/assets/default_knowledges/idw_settings/idw_skills_settings.js +15 -0
- package/dist/assets/default_knowledges/idw_settings/idw_skills_settings.js.map +1 -0
- package/dist/assets/default_knowledges/idw_settings/idw_users_settings.js +15 -0
- package/dist/assets/default_knowledges/idw_settings/idw_users_settings.js.map +1 -0
- package/dist/assets/default_knowledges/idw_use_case.js +2 -2
- package/dist/assets/default_knowledges/idw_use_case.js.map +1 -1
- package/dist/assets/default_knowledges/idw_user_guide.js +15 -0
- package/dist/assets/default_knowledges/idw_user_guide.js.map +1 -0
- package/dist/assets/default_knowledges/index.js +23 -3
- package/dist/assets/default_knowledges/index.js.map +1 -1
- package/dist/assets/default_knowledges/onereach_information.js +2 -2
- package/dist/assets/default_knowledges/onereach_information.js.map +1 -1
- package/dist/assets/default_knowledges/skills_overview.js +2 -2
- package/dist/assets/default_knowledges/skills_overview.js.map +1 -1
- package/package.json +1 -1
- package/src/assets/db_migrations/20260203090437-remove-coming-soon-domain.ts +73 -0
- package/src/assets/default_knowledges/gsx_information.ts +1 -1
- package/src/assets/default_knowledges/idw_admin_guide.ts +41 -0
- package/src/assets/default_knowledges/idw_feeds.ts +39 -0
- package/src/assets/default_knowledges/idw_general_overview.ts +2 -2
- package/src/assets/default_knowledges/idw_key_features.ts +8 -8
- package/src/assets/default_knowledges/idw_knowledge.ts +41 -0
- package/src/assets/default_knowledges/idw_settings/idw_access_settings.ts +20 -0
- package/src/assets/default_knowledges/idw_settings/idw_basic_info_settings.ts +21 -0
- package/src/assets/default_knowledges/idw_settings/idw_customization_settings.ts +23 -0
- package/src/assets/default_knowledges/idw_settings/idw_datasources_settings.ts +30 -0
- package/src/assets/default_knowledges/idw_settings/idw_domains_settings.ts +22 -0
- package/src/assets/default_knowledges/idw_settings/idw_settings.ts +32 -0
- package/src/assets/default_knowledges/idw_settings/idw_skills_settings.ts +23 -0
- package/src/assets/default_knowledges/idw_settings/idw_users_settings.ts +22 -0
- package/src/assets/default_knowledges/idw_use_case.ts +6 -6
- package/src/assets/default_knowledges/idw_user_guide.ts +28 -0
- package/src/assets/default_knowledges/index.ts +25 -3
- package/src/assets/default_knowledges/onereach_information.ts +14 -23
- package/src/assets/default_knowledges/skills_overview.ts +2 -4
- package/dist/assets/default_knowledges/idw_settings.js +0 -15
- package/dist/assets/default_knowledges/idw_settings.js.map +0 -1
- package/dist/assets/default_knowledges/news_feed.js +0 -15
- package/dist/assets/default_knowledges/news_feed.js.map +0 -1
- package/src/assets/default_knowledges/idw_settings.ts +0 -23
- package/src/assets/default_knowledges/news_feed.ts +0 -11
|
@@ -3,12 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.skills_overview = void 0;
|
|
4
4
|
exports.skills_overview = {
|
|
5
5
|
name: 'skills_overview',
|
|
6
|
-
description: 'Skills
|
|
6
|
+
description: 'IDW Skills Overview',
|
|
7
7
|
defaultKnowledge: true,
|
|
8
8
|
authorId: 'IDW',
|
|
9
9
|
passages: [
|
|
10
10
|
{
|
|
11
|
-
content: "In IDW, skills are tools that automate tasks and make work more efficient. Each skill serves a specific purpose, like managing knowledge, reviewing reports, or collecting feedback. The set of skills you see depends on your role within the workspace\u2014whether you're a user or an admin, you'll have access to different skills.\n\n**Available skills overview:**\n
|
|
11
|
+
content: "In IDW, skills are tools that automate tasks and make work more efficient. Each skill serves a specific purpose, like managing knowledge, reviewing reports, or collecting feedback. The set of skills you see depends on your role within the workspace\u2014whether you're a user or an admin, you'll have access to different skills.\n\n**Available skills overview:**\n \n* **Leave Feedback**: Share general feedback, suggest new features or skills, or report issues directly in your IDW. You can attach supporting files (images, videos, docs up to 25MB), submit feedback anonymously if preferred, and track the status of your submissions.",
|
|
12
12
|
},
|
|
13
13
|
],
|
|
14
14
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skills_overview.js","sourceRoot":"","sources":["../../../src/assets/default_knowledges/skills_overview.ts"],"names":[],"mappings":";;;AAAa,QAAA,eAAe,GAAG;IAC7B,IAAI,EAAE,iBAAiB;IACvB,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"skills_overview.js","sourceRoot":"","sources":["../../../src/assets/default_knowledges/skills_overview.ts"],"names":[],"mappings":";;;AAAa,QAAA,eAAe,GAAG;IAC7B,IAAI,EAAE,iBAAiB;IACvB,WAAW,EAAE,qBAAqB;IAClC,gBAAgB,EAAE,IAAI;IACtB,QAAQ,EAAE,KAAK;IACf,QAAQ,EAAE;QACR;YACE,OAAO,EAAE,8nBAI+P;SACzQ;KACF;CACF,CAAC"}
|
package/package.json
CHANGED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
import { QueryInterface, QueryTypes } from 'sequelize';
|
|
4
|
+
import { MigrationParams } from 'umzug';
|
|
5
|
+
|
|
6
|
+
import { OrMigrationContext } from '../../types';
|
|
7
|
+
|
|
8
|
+
module.exports = {
|
|
9
|
+
async up(queryInterface: MigrationParams<QueryInterface & OrMigrationContext>) {
|
|
10
|
+
const sequelize = queryInterface.context.sequelize;
|
|
11
|
+
|
|
12
|
+
await sequelize.transaction(async (transaction) => {
|
|
13
|
+
// 1. get domain id
|
|
14
|
+
const domains = await sequelize.query<{ id: string }>(
|
|
15
|
+
'SELECT id FROM public.domains WHERE name = \'Coming soon\'',
|
|
16
|
+
{
|
|
17
|
+
type: QueryTypes.SELECT,
|
|
18
|
+
transaction,
|
|
19
|
+
},
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
if (!domains || domains.length === 0) {
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
const domainId = domains[0]?.id;
|
|
27
|
+
if (!domainId) {
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// 2. get skills ids
|
|
32
|
+
const skills = await sequelize.query<{ skill: string }>(
|
|
33
|
+
'SELECT skill FROM public.domain_skills WHERE domain = :domainId',
|
|
34
|
+
{
|
|
35
|
+
type: QueryTypes.SELECT,
|
|
36
|
+
replacements: { domainId },
|
|
37
|
+
transaction,
|
|
38
|
+
},
|
|
39
|
+
);
|
|
40
|
+
|
|
41
|
+
const skillIds = skills.map((s) => s.skill);
|
|
42
|
+
|
|
43
|
+
// 3. delete domain_skills
|
|
44
|
+
await sequelize.query(
|
|
45
|
+
'DELETE FROM public.domain_skills WHERE domain = :domainId',
|
|
46
|
+
{
|
|
47
|
+
replacements: { domainId },
|
|
48
|
+
transaction,
|
|
49
|
+
},
|
|
50
|
+
);
|
|
51
|
+
|
|
52
|
+
// 4. delete skills (only if any)
|
|
53
|
+
if (skillIds.length > 0) {
|
|
54
|
+
await sequelize.query(
|
|
55
|
+
'DELETE FROM public.skills WHERE id IN (:skillIds)',
|
|
56
|
+
{
|
|
57
|
+
replacements: { skillIds },
|
|
58
|
+
transaction,
|
|
59
|
+
},
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
// 5. delete domain
|
|
64
|
+
await sequelize.query(
|
|
65
|
+
'DELETE FROM public.domains WHERE id = :domainId',
|
|
66
|
+
{
|
|
67
|
+
replacements: { domainId },
|
|
68
|
+
transaction,
|
|
69
|
+
},
|
|
70
|
+
);
|
|
71
|
+
});
|
|
72
|
+
},
|
|
73
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export const idw_admin_guide = {
|
|
2
|
+
name: 'idw_admin_guide',
|
|
3
|
+
description: 'IDW Admin Guide',
|
|
4
|
+
defaultKnowledge: true,
|
|
5
|
+
authorId: 'IDW',
|
|
6
|
+
passages: [
|
|
7
|
+
{
|
|
8
|
+
content: `**Admin Guide**
|
|
9
|
+
|
|
10
|
+
As an Admin, you possess full control over the workspace ecosystem. Your responsibilities are organized into five key areas:
|
|
11
|
+
|
|
12
|
+
**1. Core Configuration**
|
|
13
|
+
Set the foundation of your workspace identity and intelligence.
|
|
14
|
+
* **Identity**: Define the Workspace Name, Visual Identity, and System Instructions in [**Basic Info**](internal-action/open-basic-info-settings).
|
|
15
|
+
* **Intelligence**: Connect AI models, Web Search, and external Knowledge bases via [**Data Sources**](internal-action/open-datasources-settings).
|
|
16
|
+
* **Access**: Manage visibility (Public/Private) and domain structure in [**Access Settings**](internal-action/open-access-settings) and [**Domains**](internal-action/open-domains-settings).
|
|
17
|
+
* **UI Customization**: Tailor the [**Sign Up Page**](internal-action/open-signup-settings) and [**Start Message**](internal-action/open-start-message-settings).
|
|
18
|
+
|
|
19
|
+
**2. User Management**
|
|
20
|
+
Control who enters the workspace and what role they play.
|
|
21
|
+
* **Members**: Invite new users, promote them to Admins, or remove them in [**Users Settings**](internal-action/open-users-settings).
|
|
22
|
+
* **Requests**: Review and approve access requests from visitors in the [**Requests tab**](internal-action/open-requests-settings).
|
|
23
|
+
|
|
24
|
+
**3. Knowledge Governance**
|
|
25
|
+
You are the gatekeeper of the static knowledge base (Notes).
|
|
26
|
+
* **Review Flow**: Check [**Knowledge > For Review**](internal-action/open-knowledge). You must **Approve (Publish)** or **Reject** notes suggested by Members.
|
|
27
|
+
* **Direct Publishing**: You can use **"Save & Publish"** to bypass the review queue and make information immediately active.
|
|
28
|
+
|
|
29
|
+
**4. Internal Communication (Feeds)**
|
|
30
|
+
Manage the flow of news and announcements.
|
|
31
|
+
* **Create News**: Use [**Create Post**](internal-action/create-general-feed) for general updates or [**Create Skill Post**](internal-action/create-skill-feed) for tool-specific news.
|
|
32
|
+
* **Publishing Authority**: When adding knowledge via a News Post ("Add note" toggle), only Admins have the **"Publish note"** checkbox to make it active instantly. User posts always go to "Suggested".
|
|
33
|
+
|
|
34
|
+
**5. Skills Ecosystem**
|
|
35
|
+
Manage the functional tools available to users.
|
|
36
|
+
* **Library**: Configure available tools in the [**Skills Library**](internal-action/open-skills-settings).
|
|
37
|
+
* **Creation**: Create custom skills to automate tasks (e.g., reports, code generation).
|
|
38
|
+
* **Assignment**: Decide which skills are available to specific groups or globally to all users.`,
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export const idw_feeds = {
|
|
2
|
+
name: 'idw_feeds',
|
|
3
|
+
description: 'IDW News Feed',
|
|
4
|
+
defaultKnowledge: true,
|
|
5
|
+
authorId: 'IDW',
|
|
6
|
+
passages: [
|
|
7
|
+
{
|
|
8
|
+
content: `**News Feed** is the central communication hub of the IDW. It allows users to share updates, announcements, and insights.
|
|
9
|
+
|
|
10
|
+
**1. General News**
|
|
11
|
+
Standard posts for announcements visible to the workspace.
|
|
12
|
+
* **Action**: Click [**Create Post**](internal-action/create-general-feed).
|
|
13
|
+
* **Configuration**:
|
|
14
|
+
* **Content**: Rich text editor. Supports **Cover Image** and **Video Link** (YouTube).
|
|
15
|
+
* **Access**: Control visibility (e.g., **Only authenticated** users or **Only admins**).
|
|
16
|
+
* **Knowledge**: Includes an optional **"Add note"** toggle (see details below).
|
|
17
|
+
|
|
18
|
+
**2. Skill News**
|
|
19
|
+
Posts linked to a specific functional tool.
|
|
20
|
+
* **Action**: Click [**Create Skill Post**](internal-action/create-skill-feed).
|
|
21
|
+
* **Step 1 (Context)**: Select the **Skill** this update relates to.
|
|
22
|
+
* **Step 2 (Details)**:
|
|
23
|
+
* **Text Fields**: **Title** and **Preview text**.
|
|
24
|
+
* **Content**: Rich text body.
|
|
25
|
+
* **Access**: Select audience (**Only authenticated** or **Only admins**).
|
|
26
|
+
|
|
27
|
+
**3. Knowledge Integration ("Add note")**
|
|
28
|
+
When creating a General Post, you can toggle **"Add note"** to save the content as a permanent Knowledge Note. This reveals additional settings:
|
|
29
|
+
* **Domain** (Required): Select the category for the note.
|
|
30
|
+
* **Expiration date**: Set a date after which the note becomes outdated.
|
|
31
|
+
* **Publish note** (Admins only):
|
|
32
|
+
* **Admins**: Can check this to make the note live immediately.
|
|
33
|
+
* **Users**: This option is hidden. Their notes are automatically submitted as "Suggested" for review.
|
|
34
|
+
|
|
35
|
+
**4. Automatic Posts**
|
|
36
|
+
* **New Skill Creation**: The system automatically generates a post when a new Skill is added.`,
|
|
37
|
+
},
|
|
38
|
+
],
|
|
39
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export const idw_general_overview = {
|
|
2
2
|
name: 'idw_general_overview',
|
|
3
|
-
description: 'IDW
|
|
3
|
+
description: 'IDW General Overview',
|
|
4
4
|
defaultKnowledge: true,
|
|
5
5
|
authorId: 'IDW',
|
|
6
6
|
passages: [
|
|
7
7
|
{
|
|
8
|
-
content: 'The IDW stands for Intelligent Digital Workforce, starting as a basic tool that gradually learns about you and your organization, becoming more intelligent and capable over time. It provides a chat experience with strong capabilities for writing and answering questions across all major channels, delivers relevant news and updates through a feed, and allows users to
|
|
8
|
+
content: 'The IDW stands for Intelligent Digital Workforce, starting as a basic tool that gradually learns about you and your organization, becoming more intelligent and capable over time. It provides a chat experience with strong capabilities for writing and answering questions across all major channels, delivers relevant news and updates through a feed, and allows users to configure and extend their workspace via **IDW Settings** and **GSX Studio**. IDWs are not just another productivity tool; they represent a fundamental shift in how work gets done.',
|
|
9
9
|
},
|
|
10
10
|
],
|
|
11
11
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
export const idw_key_features = {
|
|
2
2
|
name: 'idw_key_features',
|
|
3
|
-
description: 'IDW
|
|
3
|
+
description: 'IDW Key Features',
|
|
4
4
|
defaultKnowledge: true,
|
|
5
5
|
authorId: 'IDW',
|
|
6
6
|
passages: [
|
|
7
7
|
{
|
|
8
|
-
content: `1. **AI-Driven Automation**: IDWs
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
content: `1. **AI-Driven Automation**: IDWs leverage AI and automation to streamline workflows, handle routine tasks, and improve efficiency, freeing up human workers for more creative and strategic work.
|
|
9
|
+
2. **Knowledge Management**: IDWs integrate with existing knowledge systems and **Data Sources**, making information easily accessible in a conversational manner.
|
|
10
|
+
3. **Customizable Workflows & Configurations**: Through **IDW Settings** and **GSX Studio**, users can adjust workspace structure, automate reporting, manage interactions, or create advanced workflows.
|
|
11
|
+
4. **24/7 Operations**: IDWs are available around the clock, ensuring continuous support for business processes, employee needs, and customer interactions.
|
|
12
|
+
5. **No-Code Workflow Creation (GSX Studio)**: Non-technical team members can build and deploy automations or conversational workflows without needing coding knowledge.
|
|
13
|
+
6. **Integrations**: IDWs seamlessly connect with existing business tools (CRM, document management, task tracking), enabling organizations to unify workflows and data.
|
|
14
|
+
7. **Self-management**: Users can set up, tune, and adjust their workspace directly in **IDW Settings**, with flexibility to expand functionality via GSX Studio.`,
|
|
15
15
|
},
|
|
16
16
|
],
|
|
17
17
|
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export const idw_knowledge = {
|
|
2
|
+
name: 'idw_knowledge',
|
|
3
|
+
description: 'IDW Knowledge',
|
|
4
|
+
defaultKnowledge: true,
|
|
5
|
+
authorId: 'IDW',
|
|
6
|
+
passages: [
|
|
7
|
+
{
|
|
8
|
+
content: `[**IDW Knowledge**](internal-action/open-knowledge) is the central intelligence library of the workspace.
|
|
9
|
+
|
|
10
|
+
**1. Organization**
|
|
11
|
+
Notes are grouped into [**Domains**](internal-action/open-domains-settings) (e.g., "ADMINISTRATION", "GENERAL"). This helps users and the IDW quickly locate relevant information.
|
|
12
|
+
|
|
13
|
+
**2. Ways to Create Knowledge**:
|
|
14
|
+
IDW allows you to capture knowledge from multiple contexts:
|
|
15
|
+
* **Direct Creation** (Knowledge Section): Navigate to a Domain and use the **"+ Add Note"** button. Supports **Text Notes** (Rich text) and **File Notes** (PDF, DOCX upload).
|
|
16
|
+
* **From News Feed**: When creating a [**News Post**](internal-action/create-general-feed), toggle the **"Add note"** switch. This saves the post content as a Knowledge Note simultaneously.
|
|
17
|
+
* **From Chat**: You can save valuable information directly from the chat interface. Use the **"Add note"** button near the message input.
|
|
18
|
+
* **Settings**: While creating a note, you can set a **Domain** and an **Expiration Date** to automatically archive relevance over time.
|
|
19
|
+
|
|
20
|
+
**3. Statuses & Workflow (Strictly Role-Based)**
|
|
21
|
+
Your role determines which actions are available to you:
|
|
22
|
+
|
|
23
|
+
* **Draft**:
|
|
24
|
+
* Available to **All Roles**.
|
|
25
|
+
* Saves work-in-progress visible only to the creator.
|
|
26
|
+
|
|
27
|
+
* **Suggested** (User Only):
|
|
28
|
+
* **Action**: Users (Members) cannot publish directly. Instead, they use **"Save & Suggest"**.
|
|
29
|
+
* **Result**: The note enters the **"For Review"** tab and waits for Admin approval.
|
|
30
|
+
|
|
31
|
+
* **Published** (Admin Only):
|
|
32
|
+
* **Action**: Admins utilize **"Save & Publish"** to make knowledge immediately active.
|
|
33
|
+
* **Review**: Admins also review "Suggested" notes from Users to **"Approve & Publish"** or **Reject** them.
|
|
34
|
+
|
|
35
|
+
**4. Lifecycle Tabs**
|
|
36
|
+
* **Domains**: Active, published notes visible to the IDW.
|
|
37
|
+
* **For Review**: Queue of User suggestions waiting for Admin action.
|
|
38
|
+
* **Expired**: Notes that have passed their set expiration date.`,
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export const idw_access_settings = {
|
|
2
|
+
name: 'idw_access_settings',
|
|
3
|
+
description: 'IDW Access Settings',
|
|
4
|
+
defaultKnowledge: true,
|
|
5
|
+
authorId: 'IDW',
|
|
6
|
+
passages: [
|
|
7
|
+
{
|
|
8
|
+
content: `[**Access Settings**](internal-action/open-access-settings) control the global visibility of your workspace.
|
|
9
|
+
|
|
10
|
+
**Visibility Modes:**
|
|
11
|
+
* **Private**:
|
|
12
|
+
* This is the secure default.
|
|
13
|
+
* Only users who have been explicitly invited via email or added by an Admin can access this IDW.
|
|
14
|
+
|
|
15
|
+
* **Public**:
|
|
16
|
+
* The IDW is visible to anyone who has the link.
|
|
17
|
+
* Visitors can open the workspace but may still need to Sign Up/Log In depending on your configuration.`,
|
|
18
|
+
},
|
|
19
|
+
],
|
|
20
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export const idw_basic_info_settings = {
|
|
2
|
+
name: 'idw_basic_info_settings',
|
|
3
|
+
description: 'IDW Basic Info Settings',
|
|
4
|
+
defaultKnowledge: true,
|
|
5
|
+
authorId: 'IDW',
|
|
6
|
+
passages: [
|
|
7
|
+
{
|
|
8
|
+
content: `[**Basic Info Settings**](internal-action/open-basic-info-settings) allows Admins to define the core identity of the Workspace.
|
|
9
|
+
|
|
10
|
+
The screen is divided into two main sections:
|
|
11
|
+
|
|
12
|
+
**1. Personality**
|
|
13
|
+
Defines how the system identifies itself and behaves.
|
|
14
|
+
* **Name**: The display name of the Workspace. This name appears in the header and chat interactions.
|
|
15
|
+
* **Instructions**: The **System Prompt** (up to 4000 characters) that governs the AI's behavior. Use this rich text field to specify goals, tone of voice, and rules (e.g., "Be concise", "Act as a Technical Support").
|
|
16
|
+
|
|
17
|
+
**2. Image**
|
|
18
|
+
* **Visual Identity**: This is the graphical representation of the Workspace (often an abstract visualization or logo). It acts as the "face" of the system, distinct from any user's profile picture.`,
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export const idw_customization_settings = {
|
|
2
|
+
name: 'idw_customization_settings',
|
|
3
|
+
description: 'IDW Customization Settings',
|
|
4
|
+
defaultKnowledge: true,
|
|
5
|
+
authorId: 'IDW',
|
|
6
|
+
passages: [
|
|
7
|
+
{
|
|
8
|
+
content: `**Customization Settings** allow Admins to tailor the look and feel of the workspace entry points.
|
|
9
|
+
|
|
10
|
+
**1. [Sign Up Page](internal-action/open-signup-settings)**
|
|
11
|
+
Customize the screen users see when creating an account or logging in.
|
|
12
|
+
* **Headline & Subtext**: Change the greeting text (e.g., "Hello!", "Let's create your account").
|
|
13
|
+
* **Preview**: A live preview panel shows exactly how the login form will look.
|
|
14
|
+
|
|
15
|
+
**2. [Start Message Page](internal-action/open-start-message-settings)**
|
|
16
|
+
Configure the welcome screen displayed before a chat session begins.
|
|
17
|
+
* **Page Content**: Set the **Headline** (e.g., "Hi there!"), **Subtext**, and the **Input Placeholder**.
|
|
18
|
+
* **Suggested Prompts**:
|
|
19
|
+
* Add conversation starters (e.g., "How can I add knowledge?").
|
|
20
|
+
* **Rotation**: The system randomly displays **2 prompts** from your list each time the page loads to keep the experience fresh.`,
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export const idw_datasources_settings = {
|
|
2
|
+
name: 'idw_datasources_settings',
|
|
3
|
+
description: 'IDW Data Sources Settings',
|
|
4
|
+
defaultKnowledge: true,
|
|
5
|
+
authorId: 'IDW',
|
|
6
|
+
passages: [
|
|
7
|
+
{
|
|
8
|
+
content: `[**Data Sources**](internal-action/open-datasources-settings) are external services and integrations that provide information and context to the IDW. They determine *where* the system can search for answers or which engines it uses to process requests.
|
|
9
|
+
|
|
10
|
+
**Standard Data Sources:**
|
|
11
|
+
IDW comes with built-in sources designed to cover essential capabilities:
|
|
12
|
+
* **Websearch**: Searches the internet to provide up-to-date, reliable answers from current online sources.
|
|
13
|
+
* **GPT**: The default AI model that acts as the conversational engine, providing reasoning and generating responses on various topics.
|
|
14
|
+
* **Skills**: Specialized tools that perform specific functional tasks within the IDW.
|
|
15
|
+
* **Knowledge**: A source of company-specific information (files, notes) that provides trusted, in-house answers aligned with organizational needs.
|
|
16
|
+
|
|
17
|
+
**Custom Data Sources:**
|
|
18
|
+
IDW is extensible via the Model Context Protocol (MCP). This allows you to connect specific external tools or alternative AI models beyond the standard set.
|
|
19
|
+
* **Integration**: Click the **"+" button** to connect a new source by providing its MCP server link.
|
|
20
|
+
|
|
21
|
+
**Managing & Configuring:**
|
|
22
|
+
* **Active Status**: Use the toggle switch to Enable or Disable a source globally.
|
|
23
|
+
* **Configuration**: When adding or editing a source, you define:
|
|
24
|
+
* **MCP Server link**: The technical URL connecting the integration.
|
|
25
|
+
* **Is LLM**: Check this box if the custom source is a conversational model (like a custom LLM) rather than a search tool.
|
|
26
|
+
* **Icon**: Upload or select a visual icon to easily identify the source in the list.
|
|
27
|
+
* **Access Control**: Define who can use this source. Options typically include **Public** (Anyone), **Signed-in users**, **Admins only**, **Private** (Only me), or **Invited users**.`,
|
|
28
|
+
},
|
|
29
|
+
],
|
|
30
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export const idw_domains_settings = {
|
|
2
|
+
name: 'idw_domains_settings',
|
|
3
|
+
description: 'IDW Domains Settings',
|
|
4
|
+
defaultKnowledge: true,
|
|
5
|
+
authorId: 'IDW',
|
|
6
|
+
passages: [
|
|
7
|
+
{
|
|
8
|
+
content: `[**Domains**](internal-action/open-domains-settings) are the **universal categories** used to organize your workspace content.
|
|
9
|
+
|
|
10
|
+
They act as a shared classification system for both **Skills** and **Knowledge**.
|
|
11
|
+
* **Concept**: A single Domain (e.g., "Marketing") can be used to categorize tools in the Skills menu and, separately, to tag notes in the Knowledge base.
|
|
12
|
+
* **Benefit**: This keeps your workspace structure consistent across different sections.
|
|
13
|
+
|
|
14
|
+
**Managing Domains:**
|
|
15
|
+
* **Add New**: Click the **"+" button** to create a new category.
|
|
16
|
+
* **Domain Name**: Give it a clear title (e.g., "Finance", "General").
|
|
17
|
+
* **Assigned Skills**: Select which tools belong to this category from the dropdown list.
|
|
18
|
+
* **Visual Style**: Choose an abstract cover image. This visual identifier is used to represent the category wherever it appears (on Skill cards, Knowledge headers, or the Settings grid).
|
|
19
|
+
* **Delete**: Remove categories that are no longer needed using the "Delete" button.`,
|
|
20
|
+
},
|
|
21
|
+
],
|
|
22
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export const idw_settings = {
|
|
2
|
+
name: 'idw_settings',
|
|
3
|
+
description: 'IDW Settings Overview',
|
|
4
|
+
defaultKnowledge: true,
|
|
5
|
+
authorId: 'IDW',
|
|
6
|
+
passages: [
|
|
7
|
+
{
|
|
8
|
+
content: `[**IDW Settings**](internal-action/open-settings) is the control panel where Admins configure the workspace. The settings are grouped into four main sections:
|
|
9
|
+
|
|
10
|
+
**1. General**
|
|
11
|
+
Core configuration of the workspace identity and data connections.
|
|
12
|
+
* [**Basic Info**](internal-action/open-basic-info-settings): Name, Instructions, and Visual Identity.
|
|
13
|
+
* [**Data Sources**](internal-action/open-datasources-settings): Manage AI models and knowledge bases.
|
|
14
|
+
* [**Domains**](internal-action/open-domains-settings): Organize content structure.
|
|
15
|
+
* [**Access**](internal-action/open-access-settings): Toggle Public/Private visibility.
|
|
16
|
+
|
|
17
|
+
**2. Skills**
|
|
18
|
+
Expand capabilities with tools.
|
|
19
|
+
* [**My Skills**](internal-action/open-skills-settings): Manage installed skills.
|
|
20
|
+
* [**Library**](internal-action/open-skills-settings): Browse and install new skills from the catalog.
|
|
21
|
+
|
|
22
|
+
**3. Customization**
|
|
23
|
+
Tailor the user interface.
|
|
24
|
+
* [**Sign Up Page**](internal-action/open-signup-settings): Customize the login screen.
|
|
25
|
+
* [**Start Message Page**](internal-action/open-start-message-settings): Configure the welcome screen and suggested prompts.
|
|
26
|
+
|
|
27
|
+
**4. Members & Requests**
|
|
28
|
+
* [**Members**](internal-action/open-users-settings): Manage users and roles.
|
|
29
|
+
* [**Requests**](internal-action/open-requests-settings): Approve access for visitors.`,
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export const idw_skills_settings = {
|
|
2
|
+
name: 'idw_skills_settings',
|
|
3
|
+
description: 'IDW Skills Settings',
|
|
4
|
+
defaultKnowledge: true,
|
|
5
|
+
authorId: 'IDW',
|
|
6
|
+
passages: [
|
|
7
|
+
{
|
|
8
|
+
content: `[**Skills Settings**](internal-action/open-skills-settings) allows Admins to manage the functional tools (Skills) available in the workspace.
|
|
9
|
+
|
|
10
|
+
**My Skills:**
|
|
11
|
+
This tab shows the list of currently installed skills, where you can manage their settings or uninstall them.
|
|
12
|
+
|
|
13
|
+
**Library:**
|
|
14
|
+
The **Library** tab lists all available skills that can be installed. You can search or filter skills by tags.
|
|
15
|
+
|
|
16
|
+
**Installation Process:**
|
|
17
|
+
1. **Overview**: Click on a skill card to see details. This opens a panel with the Description, Version, Publisher, and Documentation.
|
|
18
|
+
2. **Install & Access**: Click "Install". You will be prompted to select the **Access Type** immediately.
|
|
19
|
+
* Options include: Public (Anyone), Signed-in users only, Admins only, Private (Only me), or Invited users.
|
|
20
|
+
* This setting determines who can see and use the skill after installation.`,
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export const idw_users_settings = {
|
|
2
|
+
name: 'idw_users_settings',
|
|
3
|
+
description: 'IDW Members & Requests Settings',
|
|
4
|
+
defaultKnowledge: true,
|
|
5
|
+
authorId: 'IDW',
|
|
6
|
+
passages: [
|
|
7
|
+
{
|
|
8
|
+
content: `The **Members & Requests** section is divided into two distinct pages for managing the workspace community.
|
|
9
|
+
|
|
10
|
+
**1. [Members](internal-action/open-users-settings)**
|
|
11
|
+
This page displays the list of all active participants.
|
|
12
|
+
* **Edit Role**: Click the **Pencil icon** next to a user to open the "Edit user info" modal. Use the dropdown to switch their Role between **User** and **Admin**, then click Save.
|
|
13
|
+
* **Remove**: Click the **Trash icon** to revoke a user's access to the workspace.
|
|
14
|
+
* **Invite**: Click the **"+" button** (bottom right corner) to invite new members via email.
|
|
15
|
+
|
|
16
|
+
**2. [Requests](internal-action/open-requests-settings)**
|
|
17
|
+
This page handles pending access applications from visitors.
|
|
18
|
+
* **Approval Flow**: To grant access, you must first **Select a role** (User or Admin) from the dropdown menu, and then click the **Approve** button.
|
|
19
|
+
* **Rejection**: Click the **Reject** button to deny the request.`,
|
|
20
|
+
},
|
|
21
|
+
],
|
|
22
|
+
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
export const idw_use_case = {
|
|
2
2
|
name: 'idw_use_case',
|
|
3
|
-
description: 'IDW
|
|
3
|
+
description: 'IDW Use Case',
|
|
4
4
|
defaultKnowledge: true,
|
|
5
5
|
authorId: 'IDW',
|
|
6
6
|
passages: [
|
|
7
7
|
{
|
|
8
|
-
content: `Whether you're an individual, a small business, or an enterprise, IDW offers endless possibilities tailored to your needs. From automating customer interactions to streamlining internal processes, IDW adapts to your business.
|
|
8
|
+
content: `Whether you're an individual, a small business, or an enterprise, IDW offers endless possibilities tailored to your needs. From automating customer interactions to streamlining internal processes, IDW adapts to your business.
|
|
9
9
|
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
10
|
+
* **Employee Onboarding**: Guide new employees with training materials, answer questions about the company, and help them become familiar with internal tools and processes.
|
|
11
|
+
* **Customer Service and Support**: Automate retrieval of information, summarize customer interactions, or handle repetitive queries. Externally, support teams can integrate IDW chatbots for customer-facing use.
|
|
12
|
+
* **Knowledge Sharing and Retrieval**: Employees can access a centralized repository of knowledge with AI assistance to quickly find documents and answers.
|
|
13
|
+
* **Internal Process Automation**: Repetitive internal processes such as data entry, approvals, or document management can be automated, freeing employees from manual tasks and improving efficiency.`,
|
|
14
14
|
},
|
|
15
15
|
],
|
|
16
16
|
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export const idw_user_guide = {
|
|
2
|
+
name: 'idw_user_guide',
|
|
3
|
+
description: 'IDW User Guide',
|
|
4
|
+
defaultKnowledge: true,
|
|
5
|
+
authorId: 'IDW',
|
|
6
|
+
passages: [
|
|
7
|
+
{
|
|
8
|
+
content: `**User Guide: Getting Started**
|
|
9
|
+
|
|
10
|
+
As a Member, your role is to collaborate, use tools, and contribute ideas.
|
|
11
|
+
|
|
12
|
+
**1. Chat & Skills**
|
|
13
|
+
* **Ask**: Use the main chat to find answers. The IDW searches connected Data Sources.
|
|
14
|
+
* **Act**: Run specialized tools via [**Show Skills**](internal-action/show-skills) or the "My Skills" menu.
|
|
15
|
+
|
|
16
|
+
**2. Sharing News**
|
|
17
|
+
You can share updates with the community.
|
|
18
|
+
* **Create**: Use [**Create Post**](internal-action/create-general-feed) to write an announcement.
|
|
19
|
+
* **Knowledge Integration**: If you toggle **"Add note"**, your post will be submitted as a **Suggestion** to the Knowledge Base.
|
|
20
|
+
* *Note*: You cannot publish immediately (the "Publish" checkbox is hidden). An Admin must approve it first.
|
|
21
|
+
|
|
22
|
+
**3. Knowledge Contribution**
|
|
23
|
+
You help build the workspace intelligence by suggesting content.
|
|
24
|
+
* **Suggesting**: Go to [**IDW Knowledge**](internal-action/open-knowledge) and click **"Save & Suggest"** on any new note.
|
|
25
|
+
* **Status**: Your notes appear in the **"For Review"** tab until an Admin approves them.`,
|
|
26
|
+
},
|
|
27
|
+
],
|
|
28
|
+
};
|
|
@@ -1,10 +1,22 @@
|
|
|
1
|
+
// src/assets/default_knowledges/index.ts
|
|
2
|
+
|
|
1
3
|
import { gsx_information } from './gsx_information';
|
|
4
|
+
import { idw_admin_guide } from './idw_admin_guide';
|
|
5
|
+
import { idw_feeds } from './idw_feeds';
|
|
2
6
|
import { idw_general_overview } from './idw_general_overview';
|
|
3
7
|
import { idw_key_features } from './idw_key_features';
|
|
8
|
+
import { idw_knowledge } from './idw_knowledge';
|
|
9
|
+
import { idw_access_settings } from './idw_settings/idw_access_settings';
|
|
10
|
+
import { idw_basic_info_settings } from './idw_settings/idw_basic_info_settings';
|
|
11
|
+
import { idw_customization_settings } from './idw_settings/idw_customization_settings';
|
|
12
|
+
import { idw_datasources_settings } from './idw_settings/idw_datasources_settings';
|
|
13
|
+
import { idw_domains_settings } from './idw_settings/idw_domains_settings';
|
|
14
|
+
import { idw_settings } from './idw_settings/idw_settings';
|
|
15
|
+
import { idw_skills_settings } from './idw_settings/idw_skills_settings';
|
|
16
|
+
import { idw_users_settings } from './idw_settings/idw_users_settings';
|
|
4
17
|
import { idw_use_case } from './idw_use_case';
|
|
5
|
-
import {
|
|
18
|
+
import { idw_user_guide } from './idw_user_guide';
|
|
6
19
|
import { onereach_information } from './onereach_information';
|
|
7
|
-
import { idw_settings } from './idw_settings';
|
|
8
20
|
import { skills_overview } from './skills_overview';
|
|
9
21
|
|
|
10
22
|
export const DEFAULT_KNOWLEDGE_DOCUMENTS = [
|
|
@@ -12,8 +24,18 @@ export const DEFAULT_KNOWLEDGE_DOCUMENTS = [
|
|
|
12
24
|
idw_general_overview,
|
|
13
25
|
idw_key_features,
|
|
14
26
|
idw_use_case,
|
|
15
|
-
|
|
27
|
+
idw_feeds,
|
|
16
28
|
onereach_information,
|
|
17
29
|
idw_settings,
|
|
30
|
+
idw_skills_settings,
|
|
31
|
+
idw_knowledge,
|
|
32
|
+
idw_domains_settings,
|
|
33
|
+
idw_users_settings,
|
|
34
|
+
idw_datasources_settings,
|
|
35
|
+
idw_basic_info_settings,
|
|
36
|
+
idw_customization_settings,
|
|
37
|
+
idw_access_settings,
|
|
38
|
+
idw_user_guide,
|
|
39
|
+
idw_admin_guide,
|
|
18
40
|
skills_overview,
|
|
19
41
|
];
|