Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »



Mangodoc AI

Author: Taiki Shimasaki

Description

This plugin can use the API of Mangodoc AI

Main Functions
Upload files, creates chats using documents, send chats, and view chat history


Output
String
Json




Need help?

Technical contact to tech@argos-labs.com


May you search all operations,

Contents





Parameter Setting 


Basic settings


-Operation :
      Select the operation of the plugin.
-File Upload : Upload the file as a source.
- Create Chat : Create a new Multi-Doc Chat.
         You can also specify a document_id.
- Send Chat : Send a chat.
- Chat History : Outputs chat history.                 |
Operation
Parameters
File Upload
Token, Organization Id, File Path
Create Chat
Token, Organization Id, User Id, Chat Name, *Document Id(optional)
Send Chat
Token, Organization Id, Chat Id, Chat Message
Chat History
Token, Organization Id, Chat Id



- Extended Settings (Advanced)

  - File Path : 
    Select file (path) for upload.

  - User Id :
    Input user_id

  - Chat Name :
    Input any chat name.

  - Chat Id :
    Input the chat_id.
    It can also be got from the return value of Create Chat.

  - Document Id :
    Input the document_id.

  - Chat Message :
    Input your chat message.
    Fill in the text of your question, etc.

     

Return Value

- Result Type
  1. String : String (document_id, chat_id), JSON String
  2. CSV: JSON String
  3. File : JSON


Example

1. Send Chat


    Execution Result:

    *The following is a sample.

  [{"ai_session_id":208,"created_at":"2024-03-13T06:17:08.000000Z","id":919,"meta":{"client_token":""},"query":"What is this document?","response":"","task_id":"8429eff7-c340-4ca4-b44e-ff3be27cfa06","task_status":"pending","user_id":5,"user_rating":"none"}]




  • No labels