BeeAI icon

BeeAI

Interact with BeeAI API

Overview

The node named "BeeAI" integrates with the BeeAI API to perform various operations related to different resources such as Conversations, Todos, Facts, and Locations. Specifically, for the "Fact" resource with the "Create Fact" operation, this node allows users to create a new fact by sending text data to the BeeAI service. This can be useful in scenarios where you want to programmatically add factual information into a knowledge base or AI system managed by BeeAI.

Practical examples include:

  • Automatically adding facts extracted from documents or user input.
  • Creating facts based on real-time data feeds or external triggers.
  • Enriching AI models or conversational agents with new factual data.

Properties

Name Meaning
Text The content of the fact to be created. This is a required string input representing the factual statement or information you want to add.

Output

The node outputs JSON data that represents the response from the BeeAI API after creating the fact. This typically includes details about the newly created fact such as its ID, text content, timestamps, or any metadata returned by the API.

If the node supports binary data output (not indicated here), it would represent associated files or media related to the fact, but in this case, the output is purely JSON-based.

Dependencies

  • Requires an API key credential for authenticating with the BeeAI API.
  • The node sends HTTP requests to the base URL https://api.bee.computer.
  • Proper configuration of the API key credential within n8n is necessary for successful communication.

Troubleshooting

  • Common issues:

    • Missing or invalid API key credential will cause authentication failures.
    • Providing empty or invalid text for the fact may result in API errors.
    • Network connectivity problems can prevent reaching the BeeAI API endpoint.
  • Error messages:

    • Authentication errors typically indicate issues with the API key; verify the credential setup.
    • Validation errors from the API may indicate missing required fields like the "Text" property.
    • Timeout or connection errors suggest network issues or incorrect base URL configuration.

Resolving these usually involves checking the API key validity, ensuring all required properties are set correctly, and verifying network access.

Links and References

  • BeeAI Official Website (for general API documentation and support)
  • n8n Documentation on HTTP Request Nodes (for understanding how API calls are made)
  • n8n Credential Setup Guide (for configuring API keys securely)

Discussion