DMflow.chat
繁體中文
  • Welcome
    • Contact
    • Nounce
  • Get Started
    • Creating and Publishing a Bot
    • How to Share Your Bot
    • DMflow.chat Features
    • Abuse Prevention
    • Roadmap
  • Tenant
    • Tenant Management
  • Domain
    • Introduction
      • Domain Management
    • Document Q&A
      • How to Use Document Q&A
      • How to Optimize Document Q&A
    • Chat
      • How to Use Role chat
      • Role-Chat Tools
      • Product List
    • Form Q&A
      • Trigger
        • LINE
        • Gmail
        • Google Calendar
        • Google Drive
        • OpenAI
        • SendGrid
        • Telegram
      • Form
  • Live Chat
  • Role
  • Dashboard
  • Chatbot
    • Introduction
    • Bot Flow
    • Broadcasting
    • Bot Statistics
    • AI Agent
  • Channel
    • Web
    • Instagram
    • Telegram
    • LINE
    • Messenger
    • Whatsapp
  • API
  • Version
    • Latest
    • 1.0.17
Powered by GitBook
On this page
  1. Domain
  2. Chat

Role-Chat Tools

What is Role-Chat? Role-chat integrates Document Q&A and Form Q&A.

How to find domain_id and table_id for reference? Most will have auto-suggestion functionality, but some newer tools may not.

How to find domain_id

How to find table_id

search_table:

  • domain_id: Select the domain of the form (must be Form Q&A).

  • table_id: Select the ID of the form.

  • You can query the form content via "SQL". The searched content is based on visitor permissions. You can go to Form Permissions and integrate CARD output.

Card Output:

  • You can map the searched content to the corresponding fields and use 'Preview' to preview.

rate_conversation:

  • Determines if the customer intends to leave and asks the customer if the conversation was "helpful" or "not helpful". This will be automatically logged.

search_knowledge:

  • domain_id: Select the domain of the form (must be Document Q&A).

  • description: Describe the search term.

  • This tool automatically calls the Document Q&A content for answering.

collect_user_info:

  • username

  • email

  • phone

  • Set the above to true to allow the bot to update user information based on user conversations.

create_table_data:

  • domain_id: Select the domain of the form (must be Form Q&A).

  • table_id: Select the ID of the form.

  • trigger_id: Trigger ID.

  • Use this tool to add form content. Calling this tool does not require setting form permissions; insertion permissions are sufficient. After successful insertion, the trigger will be called.

human_agent_help:

  • Use this tool when a user needs live agent help. It will automatically fallback and log the visitor's question in the shared notes.

auto_suggestion:

  • Use this tool to automatically add up to three recommended user queries.

googlemap_routes_api:

  • api_key: Encrypt the API key in the settings first, then enter it.

  • limit: The original maximum is 25; you can set it to 1-25. It will filter the closest distances via straight-line distance calculation before calling this API.

Encryption API KEY Location:

custom_service:

  • Allows you to call your own API, but the payload cannot exceed 4K (CJK characters count as 1, other languages approximately 3-5 letters per length 1).

  • resource_id: Resource ID.

  • name: functionName (equivalent to the name of the LLM calling tool).

  • description: function Description (equivalent to the description of the LLM calling tool).

  • parameters: {name: string, description: string, type: 'string' | 'number' | 'boolean' | 'string_array', require: boolean, enums: string}.

  • Parameter section, only supports string, number, boolean, and string array. Object array is currently not supported. Enums can be separated by '|', for example: Chinese|English|Japanese. Resource nodes will be introduced later.

suggestion_items:

  • Uses the built-in product search function.

search_reserve_range:

  • You must first select a form with a reservation component to use this function.

  • domain_id

  • table_id

  • description: Allows the LLM to understand what object you want to reserve.

collect_user_tag:

  • Use this tool to collect visitor tags. If the tag name exists in the visitor's tags, it will be added.

  • {name: string, description: string}[]

get_form_link:

  • Retrieves the external link for inserting a form component, binding the visitor's identity.

  • array name, description, table_id

code_geodesic:

  • Uses code to determine latitude and longitude distance.

store_memory:

  • Allows you to store, query, and remove visitor persistent memory.

PreviousHow to Use Role chatNextProduct List

Last updated 1 month ago