Medullar icon

Medullar

AI-powered discovery & insight platform that acts as your extended digital mind.

Overview

The node "Medullar" integrates with an AI-powered discovery and insight platform designed to act as an extended digital mind. Specifically, the "Ask Space" operation under the "Space" resource allows users to send a message to a selected Space (a collaborative or knowledge area) and receive AI-generated responses based on different chat modes.

This node is beneficial in scenarios where teams or individuals want to interact with AI agents within specific Spaces for tasks such as research, fact-checking, sales insights, or general AI assistance. For example, a user can ask a MedullaryAI Researcher agent in a Space about recent market trends, or use the Fact Check agent to verify information accuracy.

Properties

Name Meaning
Space Name or ID Select one of your existing Spaces to chat with. You can choose from a dropdown list populated dynamically or specify a Space ID using an expression.
Chat Name or ID (Optional) Select a specific chat within the chosen Space. If left empty, a default chat named "automated" will be created. Options are dynamically loaded based on the selected Space.
Chat Mode Choose the AI chat mode to use for the conversation. Available options:
- MedullaryAI Agent
- MedullaryAI Agent (xAI Grok)
- MedullaryAI Fact Check
- MedullaryAI Researcher
- MedullaryAI Sales Researcher
- MedullaryAI Search Agent
Deep Analysis Boolean flag to enable Deep Analysis mode, which provides more accurate results but may increase response time.
Message The text message you want to send to the Space's chat. This is the query or prompt that the AI agent will respond to.

Output

The node outputs a JSON array where each item corresponds to the response from the AI agent in the specified Space chat. The structure of each output item contains the AI-generated answer or relevant data returned by the platform's API.

If the node supports binary data output (not explicitly shown in the provided code), it would typically represent files or media related to the Space or chat responses, but this is not indicated here.

Dependencies

  • Requires an API key credential for authenticating with the Medullar AI platform.
  • The node depends on dynamic loading methods to fetch user Spaces and chats within those Spaces.
  • Network access to the Medullar API endpoints is necessary.
  • No additional environment variables or external services are explicitly required beyond the API authentication.

Troubleshooting

  • Common Issues:

    • Failure to load Spaces or Chats: Ensure the API key credential is valid and has sufficient permissions.
    • Invalid Space or Chat IDs: Using incorrect or expired IDs will cause errors.
    • Slow responses when Deep Analysis is enabled due to increased processing time.
  • Error Messages:

    • "Ask Space failed: <error message>" indicates the request to the AI chat failed. Possible causes include network issues, invalid parameters, or API limits.
  • Resolutions:

    • Verify API credentials and connectivity.
    • Double-check Space and Chat IDs.
    • Disable Deep Analysis if response times are too slow.
    • Use the "Continue On Fail" option in n8n to handle errors gracefully during batch executions.

Links and References

Discussion