How Can We Help?

FactVerse AI

You are here:
< All Topics

FactVerse AI within the DataMesh FactVerse platform encompasses AI Assistant Management, AI Knowledge Base Management, and Data Statistics modules, offering users a range of services such as establishing private enterprise knowledge repositories, crafting, and implementing AI assistants, and more. Users can leverage AI assistants with distinct roles to access internal corporate data, develop product descriptions, and even compose proposals using their personalized knowledge bases. With the text-to-speech feature, users can effortlessly generate audio assets tailored to their requirements, storing them in the cloud for utilization as 2D resources in the DataMesh client. Furthermore, AI assistants help generate textual content for scenario and scene creation within DataMesh client products.

The basic workflow for employing FactVerse AI is outlined as follows:

Prerequisite: get permissions

To gain access to FactVerse AI, contact your enterprise administrator and request authorization. The enterprise administrator will allocate appropriate permissions based on your user role and needs, ensuring smooth access and use of the FactVerse AI service.

Once authorized, you can log in to the DataMesh FactVerse platform and use it.

Create AI knowledge bases

You can upload internal company materials, documents, and other data to the knowledge base by creating an AI knowledge base. This becomes a private information repository for the AI assistant to reference and answer user queries. You can specify that the AI assistant only uses the content in the knowledge base to respond to questions. For questions beyond the scope of the knowledge base, you can set it not to respond. This way, the AI assistant can provide accurate answers and solutions based on specific internal company data and information.

Steps for creating an AI knowledge base:

1. Click on AI Knowledge Base Management to enter the AI Knowledge Base Management page, where you can create, edit, and delete knowledge bases.

2. Click the New knowledge base button , enter the New window, fill in the knowledge base name, and add a description. Click Confirm to complete the knowledge base creation.

3. After creating the knowledge base, hover over the knowledge base card to see the delete and edit icons.

4. Details for the knowledge base card are as follows:

5. Click the edit icon to enter the details page of AI knowledge base management.

6. Click the Import files button to upload local files, with the option to select multiple files. Supported file types include txt, html, md, pdf, pptx, doc, docx, and csv. CSV files need to be converted to UTF-8 format before uploading. The recommended file types are text and word (.doc and .docx). Note: Pay attention to remaining tokens and storage. Uploading documents will consume tokens each time. The consumed token number is the same as the word number of the uploaded files.

7. After selecting files, click the Upload button. Click the Upload details button on the top menu to view the upload details.

8. (Optional) Click the Customize text button and enter the text title and content to create customized text. The created text will be in .txt format.

9. After successful file upload or text creation, check the processing status of the file under the file list. Processing status includes “Not Processed,” “Processing Complete,” and “Processing Failed.” If a file processing fails, click the Process button to reprocess the file. If the issue persists, consider the following reasons:

a. The uploaded file may be too large. It is recommended to upload files no larger than 250MB.

b. Poor network conditions.

Note: The token consumption for text uploads will not be restored upon text deletion.

Create AI assistants

AI Assistants are customized AI robots that can be tailored to perform specific tasks and possess specific capabilities based on particular needs and application scenarios, such as English Translator and Improver, IT Expert, Copywriting Specialist, and Digital Twin Solution Assistant. Different application scenario configurations are isolated from each other, providing high flexibility and adaptability.

Steps for creating AI assistants:

1. Click on AI Assistant Management to enter the AI Assistant Management page, where you can create, delete, and edit AI assistants.

2. Click the New AI assistant button  and enter the basic information page. Set AI Assistant basic information: click on the avatar to change it (optional) and fill in the AI Assistant name (required), AI Assistant description, and opening remarks.

3. Click Next to enter the Conversation Rules setting page. Conversation rules refer to a series of rules that the AI assistant follows during conversations. This includes specifying the identity and tone the AI assistant uses when answering questions, where the answers come from (specific knowledge base), and restrictions on the maximum number of conversations.

4. Click Select a Role to open the role window and choose the role setting for the AI assistant. Role setting allows you to define how the AI assistant engages in conversations, such as setting it to function as a customer service representative and responding with polite language.

There are four built-in role settings to choose from: English Translator and Improver, IT Expert, Copywriting Specialist, and Digital Twin Solution Assistant. When the cursor hovers over the assistant card, a details button  appears. Clicking on it allows you to view the role setting details. Built-in role settings cannot be deleted or edited.

On the page of Select a role, clicking the New Role button allows you to create a new role. Fill in the role name and role setting. User-defined role settings can be deleted and edited. If you need to create role settings according to application scenarios, here are some strategic tips:

    • Use clear separators to specify role capabilities, making it easier for the language model to understand role commands, for example, “You should use your computer science, network infrastructure, and IT security knowledge to solve my problem.”
    • You can emulate the provided four built-in role settings.
    • Specify exactly what tasks the AI assistant should perform, rather than what it should not do, for example, “When faced with a question I can’t answer, please do not provide an answer.”

5. Select a role and click Confirm.

6. Click the Add a knowledge base button  to add a knowledge base for the AI assistant. Hover over the knowledge base card, and a details button  appears. Clicking on it allows you to view knowledge base details. Click Return to return to Select a knowledge base page.

7. Select a knowledge base and click Confirm.

 8. (Optional) Once the knowledge base selection is finalized, the next step is to choose where the content will be sourced from. There are three options:

    Use knowledge base only, do not use external search: The answer content of the AI assistant solely comes from the knowledge base. If an answer is not found in the knowledge base, it does not respond.

    Prioritize the knowledge base, then use an external search: The answer content of the AI assistant primarily comes from the knowledge base. If an answer is not found in the knowledge base, it then retrieves the answer through external searches.

    Use both knowledge base and external search simultaneously: The answer content of the AI assistant comes from both a knowledge base and external searches, and the AI assistant integrates and outputs the answers.

    9. (Optional) Enable conversation restrictions settings. Input the maximum conversations and set the default reply for exceeding the conversation limit.

    10. Click Save to complete the conversation rule settings.

    11. Click Integration to enter the integration details page. Click the toggle in the upper right corner to enable the integration application. After enabling, you can integrate the AI assistant into your application through the following three methods:

    Chatbot Webpage: Copy this link to your browser to chat directly with the AI assistant.

    Embed into the page: Copy this iframe and add it to your HTML code to add the AI assistant to your website and chat with it anywhere on the page.

    Backend service API: Copy this API access credential to integrate the AI assistant into other applications.

    Chat with AI assistant

    After creating the AI knowledge base and AI assistant, you can use the AI assistant for conversation.

    1. Click on the AI Assistant icon  in the menu bar on the FactVerse service homepage.

    2. Select an AI Assistant.

    3. Click on the AI Assistant to enter the AI Assistant conversation interface. Click on the dropdown arrow next to the assistant to switch between different AI assistants.

    4. Input your question. You can choose text input or voice input for conversation.

    When asking questions to the AI assistant, using specific prompt formats will make the Q&A more effective. Here are some questioning tips:

      • Within the token limit, try to describe the problem as specifically and detailed as possible, providing necessary background information.
      • Place restrictions on the description of the model’s output in text, including results, length, format, and style.
      • Provide an example of a Q&A to clarify the format and requirements of the desired output.
      • Use precise descriptions instead of vague ones to ask questions clearly.
      • If the AI assistant is associated with a knowledge base, it is recommended not to ask questions unrelated to the knowledge base content.

    Text input: Input the content in the text box, click the Send button, and the conversation will start.

    Voice input: Use the voice input button to convert speech to text, click the Send button, and the conversation will start.

    a). Click the audio input button , and select the language you want to convert to text.

    b). When using voice input for the first time, grant microphone permission. Enter the voice input interface.

    c). Click the microphone button to start recording. Note: The voice you record should match the language selected in step a).

    d). Click the microphone button to start recording. Note: The voice you record should match the language selected in step a).

    5. The AI assistant will provide an answer according to the set conversation rules. The following figure is an example of choosing “Both knowledge base and external search simultaneously” as the source of the content.

    6. Click the To speech button to convert the AI assistant’s response into the corresponding audio file. This audio file can be used as a 2D resource in DataMesh’s other client products. Select the language you want to convert to (required) and choose the voice gender. Supported languages for voice are Chinese, English, Japanese, and Korean. Note: When selecting the language, choose the one that matches the text.

    7. Click the Listen button to go to the Audio preview interface. Click the play button  to preview the voice effect. You can also drag and drop the progress bar to adjust the playback progress.

    8. Click the Save button to save the audio file. Enter a file name. Select the storage location and click in a blank space outside the address list to complete the address filling.

    9. Click the Confirm button to save the audio file.

    Knowledge base content optimization

    FactVerse AI provides content optimization functions for internal knowledge bases. Users can edit the knowledge base content to improve the question-and-answer performance of the AI assistant. Through these adjustments, the performance of the AI assistant can be enhanced more effectively without affecting the content of the original knowledge base files, ensuring the integrity and security of the original knowledge base.

    1. Click on the edit button of the knowledge base source in the Source of the answer to enter the knowledge base content source interface.

    2. Click on the edit button of the knowledge base source in the Source of the answer to enter the knowledge base content source interface.

    3. After completing the content editing, click the “Process” button to process the modified content.

    4. In the pop-up window, fill in the file name and click the “Confirm” button.

    5. After processing is completed, the status will be updated to “Processing complete.” A new file is generated, which you can edit or delete.

    6. Navigate back to the conversation by selecting the ‘Back’ (<) button.

    7. Then proceed to raise the same question to evaluate the effectiveness of the knowledge base content optimization. If the results are unsatisfactory, continue optimizing until the responses meet the desired expectations.

      Data Statistics

      Users with Data statistics permissions under the FactVerse AI module can use the data statistics function to view the monthly conversation count, user count, token usage, and remaining tokens for each enterprise tenant. This helps users understand both historical and real-time token usage. The available token count for a tenant is related to their subscribed level.

      Conversation Count: The conversations count for each tenant per month.

      User Count: The number of users under the tenant using custom AI assistants each month.

      Token Count: The conversation and text tokens used by the tenant each month.

      Remaining Tokens: The remaining conversation and text tokens at present.

      Table of Contents