ECOChat User Manual: Difference between revisions

From Pangeanic
Jump to navigation Jump to search
Created page with "= ECOChat = ECOChat is a framework and platform developed by Pangeanic for creating, deploying, and disseminating Virtual Assistants across an organization or company. It's designed to help users answer questions, search data repositories, and generate content. == What is ECOChat? == ECOChat is a versatile platform that allows for various deployment scenarios: * '''Simple Assistant''': For SMEs/organizations to help web visitors navigate through the company's knowled..."
 
No edit summary
 
Line 1: Line 1:
= ECOChat =
= ECOChat Administration Manual =


ECOChat is a framework and platform developed by Pangeanic for creating, deploying, and disseminating Virtual Assistants across an organization or company. It's designed to help users answer questions, search data repositories, and generate content.


== What is ECOChat? ==
== 1. Introduction, context and objectives ==
ECOChat is Pangeanic's framework to create virtual assistants and deploy them for use by organization users in a secure and controlled way.


ECOChat is a versatile platform that allows for various deployment scenarios:
ECOChat is based on three components:
* Generative AI: Technology based on LLMs (Large Language Models) for understanding and generating languages.
* RAG (Retrieval Augmented Generation): Gives the LLM context to generate text output based on customer-provided documents.
* ECO: Pangeanic corporate platform used to convey language processing to an organization.


* '''Simple Assistant''': For SMEs/organizations to help web visitors navigate through the company's knowledge, news, and offerings.
=== Deployment Modes ===
* '''Multiple Assistants''': For larger corporations, catering to different user groups (HR, internal and external clients, Accounts, Engineering) or as a means to monetize access to authoritative knowledge.
To deploy the framework in an organization, 3 different modes are possible:
* SaaS: The framework is a Service, operated and managed by Pangeanic. The same infrastructure is used to provide services to multiple customers/organizations.
* Dedicated SaaS: Same as the SaaS but the infrastructure is not shared with other customers, and access restrictions (firewall, bastion,...) are defined and audited by the customer.
* On-Premises: The infrastructure is owned and managed by the customer.


== Types of Assistants ==
In all but the simplest case where the organization has a single Assistant and no users (anonymous access), the Application administration is in charge of the Instance Admin who can delegate some of the tasks to User Admins and Data Admins.


=== Public Assistants ===
=== 1.1. Tasks in charge of the Administrators ===
* Configured with public access information
* Used by anonymous users
* Benefits:
** Affordable substitute for 24/7 call centers
** Improves existing website experience
** Provides AI-powered capabilities
** Multilingual support
** Offers insights into user intentions and sentiments
** Identifies gaps in information/communication


=== Internal Assistants ===
==== User Admins ====
* Integrated into organization applications
* Create and manage users
* Requires user to be a member of the organization
* Create and manage User Groups
* Configured with private information
* Manage the membership of users to User Groups
* Examples:
** On-boarding assistant
** ISO/Quality assistant
** Wiki-like assistant
* Benefits:
** Increases productivity
** Promotes company culture
** Identifies gaps in information/communication


=== Restricted Assistants ===
==== Data Admins ====
* Similar to Internal Assistants but with confidential/restricted data
* Create and manage new sources, a source is either a document or a website
* Limited to specific user groups
* Create and manage collections, a collection is a group of sources
* Examples:
* Manage the relation between collections and sources
** Department-specific assistants (HR, Sales, Management)
* Request the refresh/update of a source (indexation)
** Financial assistants
* Create and manage assistants
** Report summarization tools
* Manage the relation of assistants and the collections they will use as references and knowledge map
* Benefits:
* Manage the relation between assistants and the User Groups with access to them
** Increases productivity
** Promotes group culture


=== Hybrid Assistants ===
==== Instance Admins ====
* A type of Restricted Assistant that includes both organization members and third parties
* All the tasks that can be completed by either Data Admins or User Admins
* Examples:
* Create and manage Data Admins and User Admins
** Customer relationship assistant
** Vendor relationship assistant
** Partner relationship assistant
* Benefits:
** Improves communication channels between partners


=== Monetizing Assistants ===
== 2. The Administration Interface ==
* Sells access to summaries or pieces of content/knowledge to subscribers
* Multi-level access to different repositories
* Examples:
** Industry-specific knowledge bases
* Benefits:
** Improves customer experience
** Leverages old content for monetization
** Opens new business channels through on-the-fly translation


== Key Features ==
=== 2.1. Accessing the interface ===
The interface is a web application in the admin URL, typically:
<code>https://ecochat.pangeanic.com/adm/admin</code>


* Privacy and security compliance (NDA, GDPR, ISO27001)
==== Logging in ====
* On-premises deployment option
To log in, enter email address and password in the dialog.
* Quick and simple deployment for BASIC & Standard packages
* Assisted deployment and integration for Professional & Premium packages
* Customer support
* Progressive deployment options
* Multilingual capabilities
* Hallucination-free (uses only client data)
* Update control (STANDARD+)
* Ready for corporate deployment


== Technology ==
=== 2.2. The Instance Main Page ===
After logging in, all admin profiles will get to the main instance page which gives information about the setup:


ECOChat is built on a scalable, stable, and production-ready framework. Key components include:
The data appearing in the page:
* Use Status: Describes if limits of usage are exceeded, in that case the instance goes on stall mode, limiting speed.
* Prod Status: ON/OFF all the functionalities.
* Counters: The usage counters overall
* Limits: The limiting thresholds
* Assistants: The list of defined assistants


* RAG (Retrieval-Augmented Generation) system
Only the Instance Admin has the possibility to edit / delete the instance root values using top-right icons.
* Content chunking
* Search engine
* Crawling system
* LLM (Language Model) for conversation support
* On-premises deployment option


== Packages ==
Data Admins and User Admins have read access to all the info but only write/update/delete to the entities they control.


=== BASIC ===
==== Options menu ====
* Low-cost, entry package (SaaS)
Admins have options to display/manage other entities, the left side menu shows the possibilities:
* Single Assistant for indexing public URL content
* The Instance option will navigate to the Main Instance Page.
* Limited usage and indexing frequency
* The Assistants option will navigate to the Assistants page.
* Suitable for simple websites with standard CMS and static content
* The Prompts will show you the pre-defined prompts (system and task prompts) used by the assistants.
* Price estimate: 40-80€/month
* Users option to manage Users.
* User Groups, to manage User groups.
* Collections and Sources to manage these entities.
* Query Logs to access the log of requests and answers.


=== Standard ===
== 3. Managing Assistants ==
* Typical package for websites (SaaS)
* Higher limits on usage and indexable content
* Includes mini-administration tool for document management and indexing
* Suitable for e-commerce and frequently updated websites
* Price estimate: 100-200€/month


=== Professional ===
=== 3.1. Main Assistants page ===
* For internal, public, or mixed-use cases (SaaS)
The Main Assistants page shows the list of defined assistants:
* Multiple assistants, users, and groups
* Administration Interface
* Suitable for SMEs & communities
* Typical price: 10K€/year subscription


=== Premium ===
For every assistant the listed information:
* Includes all Professional features plus:
* Name and description
** Dedicated SaaS deployment for security and resource allocation
* Access Type:
** Customized look & feel
** a PUBLIC assistant has no access requirements, the use is anonymous
* Typical price: 25K€/year subscription
** an INTERNAL assistant can be accessed by ANY authenticated user
** a RESTRICTED assistant will require the user to be member of a User Group and the User Group to be granted access to the assistant
* Type, gives some info about the Assistant functionality, for instance:
** Chatbot
** Q&A
** Search
** Content Generation
* Pre-Prompt, the prompt used


=== 3.2. The Assistant page ===
To know more about an assistant or manage it you access the assistant page clicking on the 'view' button.


For more information, visit [https://www.pangeanic.com/ www.pangeanic.com]
The Assistant Page contains:
* The extra info configuring the interface
* The list of collections defining the info/doc repository that will be used
* The list of User Groups that can access the assistant
 
Top-right we have the actions that can be used to get the Queries log, update and delete.
 
Update and delete options can only be used by Data Admins or Instance Admins.
 
=== 3.3. The Update Assistant Page ===
Apart from changing the different attributes of the Assistant, it is possible to edit the list of User Groups and Collections associated with the Assistant.
 
All changes are effective after the Save button is pressed.
 
== 4. Managing Prompts ==
Prompts are in fact pre-prompts that will be added to the user prompt.
 
=== 4.1. The Prompts list page ===
List all available prompts for the assistants.
 
Data and Instance Admins can edit the prompts and can add new ones.
 
=== 4.2. The Prompt page ===
Shows the System and Task prompt
 
== 5. Managing Users ==
 
=== 5.1. The Users List Page ===
The list of the instance users appears:
 
The Role can be:
* User: The basic type, they can only use the assistants granted: all PUBLIC, all INTERNAL and all RESTRICTED if they belong to the right User Groups.
* User Admin
* Data Admin
* Instance Admin
* Manager*
* Super admin*
(* only for SaaS ECOChats)
 
The APIKey is an alphanumerical string that is a shared secret that can be used to do API requests.
 
== 6. Managing User Groups ==
 
=== 6.1. The List of User Groups page ===
A User Group has a name, a description. Several users belong to it and the group has access to some assistants.
 
The list has this info:
* Name
* Description
* Number of users
* Number of assistants
 
The add button, top right allows the creation of a new group (functionality restricted to User and Instance Admins).
 
It is possible to 'view' a User Group accessing from the list with the 'eye' button.
 
=== 6.2. User Group page ===
Contains two lists:
* The user list
* The Assistants list
 
A click in the assistant number (left of the assistant row) gives access to the assistant details.
 
Top-right provides access to the update and delete functions.
 
== 7. Managing Sources ==
A source is a document (a file), a website or a single web page.
 
To create a source the procedure is:
# Upload the file or define the URL
# Let the system index the source
 
Indexing a source can take minutes or hours.
 
=== 7.1. The Source List page ===
A list of the sources available for collections:
 
Types can be:
* WEB: a single web page
* WEB-recursive: a list of pages, scanned from a root URL/page
* File: a document
 
Index column is the index status.
Status: is ENABLE if source can be reindexed and DISABLE if sources can be deleted
 
=== 7.2. Adding a new Source ===
Clicking on the add button (top-right of source list page) we have the dialogs to add a new source.
 
Depending on the source type you choose you get different forms:
* For a File you can select the document from your computer
* For a website you enter the reference (https://......) and decide if you want a single page or the full hierarchy
 
=== 7.3. The source page ===
Contains the full information for the source.
 
== 8. Managing Collections ==
A collection is a set of sources. You need to define collections because Assistants only accept them to be the repository they base the answers on.
 
A collection can be used by more than one assistant.
 
=== 8.1. The list of collections page ===
New collections can be created with the add button top-right.
 
When a collection is created we can add one or more sources.
 
=== 8.2. The collection page ===
When accessing the collection page the whole collection is shown.
 
List of sources and List of Assistants.
 
The relationship assistant-collection can be of different types:
* Normal: The sources of the collection are used by the assistant to generate the answer, the references will appear in the answer and the documents can be downloaded
* Limited: The sources of the collection are used by the assistant to generate the answer, the references will appear in the answer, but the documents can NOT be downloaded
* Restricted: The sources of the collection are used by the assistant to generate the answer, but references are not shown nor can be downloaded
 
== 9. Managing Logs ==
To see the logs, the list of questions and answers the users have requested, choose from the left menu the Query Logs option.
 
Top-left there is a selector allowing to restrict the assistant that was used.

Latest revision as of 13:01, 20 September 2024

ECOChat Administration Manual

1. Introduction, context and objectives

ECOChat is Pangeanic's framework to create virtual assistants and deploy them for use by organization users in a secure and controlled way.

ECOChat is based on three components:

  • Generative AI: Technology based on LLMs (Large Language Models) for understanding and generating languages.
  • RAG (Retrieval Augmented Generation): Gives the LLM context to generate text output based on customer-provided documents.
  • ECO: Pangeanic corporate platform used to convey language processing to an organization.

Deployment Modes

To deploy the framework in an organization, 3 different modes are possible:

  • SaaS: The framework is a Service, operated and managed by Pangeanic. The same infrastructure is used to provide services to multiple customers/organizations.
  • Dedicated SaaS: Same as the SaaS but the infrastructure is not shared with other customers, and access restrictions (firewall, bastion,...) are defined and audited by the customer.
  • On-Premises: The infrastructure is owned and managed by the customer.

In all but the simplest case where the organization has a single Assistant and no users (anonymous access), the Application administration is in charge of the Instance Admin who can delegate some of the tasks to User Admins and Data Admins.

1.1. Tasks in charge of the Administrators

User Admins

  • Create and manage users
  • Create and manage User Groups
  • Manage the membership of users to User Groups

Data Admins

  • Create and manage new sources, a source is either a document or a website
  • Create and manage collections, a collection is a group of sources
  • Manage the relation between collections and sources
  • Request the refresh/update of a source (indexation)
  • Create and manage assistants
  • Manage the relation of assistants and the collections they will use as references and knowledge map
  • Manage the relation between assistants and the User Groups with access to them

Instance Admins

  • All the tasks that can be completed by either Data Admins or User Admins
  • Create and manage Data Admins and User Admins

2. The Administration Interface

2.1. Accessing the interface

The interface is a web application in the admin URL, typically: https://ecochat.pangeanic.com/adm/admin

Logging in

To log in, enter email address and password in the dialog.

2.2. The Instance Main Page

After logging in, all admin profiles will get to the main instance page which gives information about the setup:

The data appearing in the page:

  • Use Status: Describes if limits of usage are exceeded, in that case the instance goes on stall mode, limiting speed.
  • Prod Status: ON/OFF all the functionalities.
  • Counters: The usage counters overall
  • Limits: The limiting thresholds
  • Assistants: The list of defined assistants

Only the Instance Admin has the possibility to edit / delete the instance root values using top-right icons.

Data Admins and User Admins have read access to all the info but only write/update/delete to the entities they control.

Options menu

Admins have options to display/manage other entities, the left side menu shows the possibilities:

  • The Instance option will navigate to the Main Instance Page.
  • The Assistants option will navigate to the Assistants page.
  • The Prompts will show you the pre-defined prompts (system and task prompts) used by the assistants.
  • Users option to manage Users.
  • User Groups, to manage User groups.
  • Collections and Sources to manage these entities.
  • Query Logs to access the log of requests and answers.

3. Managing Assistants

3.1. Main Assistants page

The Main Assistants page shows the list of defined assistants:

For every assistant the listed information:

  • Name and description
  • Access Type:
    • a PUBLIC assistant has no access requirements, the use is anonymous
    • an INTERNAL assistant can be accessed by ANY authenticated user
    • a RESTRICTED assistant will require the user to be member of a User Group and the User Group to be granted access to the assistant
  • Type, gives some info about the Assistant functionality, for instance:
    • Chatbot
    • Q&A
    • Search
    • Content Generation
  • Pre-Prompt, the prompt used

3.2. The Assistant page

To know more about an assistant or manage it you access the assistant page clicking on the 'view' button.

The Assistant Page contains:

  • The extra info configuring the interface
  • The list of collections defining the info/doc repository that will be used
  • The list of User Groups that can access the assistant

Top-right we have the actions that can be used to get the Queries log, update and delete.

Update and delete options can only be used by Data Admins or Instance Admins.

3.3. The Update Assistant Page

Apart from changing the different attributes of the Assistant, it is possible to edit the list of User Groups and Collections associated with the Assistant.

All changes are effective after the Save button is pressed.

4. Managing Prompts

Prompts are in fact pre-prompts that will be added to the user prompt.

4.1. The Prompts list page

List all available prompts for the assistants.

Data and Instance Admins can edit the prompts and can add new ones.

4.2. The Prompt page

Shows the System and Task prompt

5. Managing Users

5.1. The Users List Page

The list of the instance users appears:

The Role can be:

  • User: The basic type, they can only use the assistants granted: all PUBLIC, all INTERNAL and all RESTRICTED if they belong to the right User Groups.
  • User Admin
  • Data Admin
  • Instance Admin
  • Manager*
  • Super admin*

(* only for SaaS ECOChats)

The APIKey is an alphanumerical string that is a shared secret that can be used to do API requests.

6. Managing User Groups

6.1. The List of User Groups page

A User Group has a name, a description. Several users belong to it and the group has access to some assistants.

The list has this info:

  • Name
  • Description
  • Number of users
  • Number of assistants

The add button, top right allows the creation of a new group (functionality restricted to User and Instance Admins).

It is possible to 'view' a User Group accessing from the list with the 'eye' button.

6.2. User Group page

Contains two lists:

  • The user list
  • The Assistants list

A click in the assistant number (left of the assistant row) gives access to the assistant details.

Top-right provides access to the update and delete functions.

7. Managing Sources

A source is a document (a file), a website or a single web page.

To create a source the procedure is:

  1. Upload the file or define the URL
  2. Let the system index the source

Indexing a source can take minutes or hours.

7.1. The Source List page

A list of the sources available for collections:

Types can be:

  • WEB: a single web page
  • WEB-recursive: a list of pages, scanned from a root URL/page
  • File: a document

Index column is the index status. Status: is ENABLE if source can be reindexed and DISABLE if sources can be deleted

7.2. Adding a new Source

Clicking on the add button (top-right of source list page) we have the dialogs to add a new source.

Depending on the source type you choose you get different forms:

  • For a File you can select the document from your computer
  • For a website you enter the reference (https://......) and decide if you want a single page or the full hierarchy

7.3. The source page

Contains the full information for the source.

8. Managing Collections

A collection is a set of sources. You need to define collections because Assistants only accept them to be the repository they base the answers on.

A collection can be used by more than one assistant.

8.1. The list of collections page

New collections can be created with the add button top-right.

When a collection is created we can add one or more sources.

8.2. The collection page

When accessing the collection page the whole collection is shown.

List of sources and List of Assistants.

The relationship assistant-collection can be of different types:

  • Normal: The sources of the collection are used by the assistant to generate the answer, the references will appear in the answer and the documents can be downloaded
  • Limited: The sources of the collection are used by the assistant to generate the answer, the references will appear in the answer, but the documents can NOT be downloaded
  • Restricted: The sources of the collection are used by the assistant to generate the answer, but references are not shown nor can be downloaded

9. Managing Logs

To see the logs, the list of questions and answers the users have requested, choose from the left menu the Query Logs option.

Top-left there is a selector allowing to restrict the assistant that was used.