Overview
This node allows users to interact with a custom Museai AI model by sending messages and receiving generated completions. It is useful for scenarios where you want to integrate AI-driven text generation or conversational capabilities into your workflows, such as generating creative content, answering questions, or automating chat responses.
For example, you can send a prompt message to the specified Museai model and receive a text completion based on that input. Adjusting the "Temperature" property lets you control how random or deterministic the output is, enabling either more creative or more focused responses.
Properties
| Name | Meaning |
|---|---|
| Model | The identifier of the Museai model to use for generating the completion. |
| Message | The input text message sent to the model to generate a response. |
| Temperature | Controls randomness in the output; lower values produce more predictable results. |
Output
The node outputs JSON data containing the generated text from the Museai model. The main output field is:
output: A string representing the text generated by the model in response to the input message.
If the node is configured to return all data (returnAll parameter), it outputs the full raw response from the API instead of just the generated text.
No binary data output is produced by this node.
Dependencies
- Requires an API key credential for authenticating requests to the Museai service.
- The node makes HTTP POST requests to the Museai API endpoint URL provided in the credentials.
- Proper configuration of the API token and endpoint URL is necessary for successful operation.
Troubleshooting
- No content found in response: This error occurs if the API response does not contain any generated message content. Check that the model ID and message are valid and that the API service is operational.
- Authentication errors: If the API token is invalid or missing, requests will fail. Ensure the API key credential is correctly set up.
- Network or request failures: Connectivity issues or incorrect endpoint URLs can cause request failures. Verify network access and the correctness of the API URL.
- When
continueOnFailis enabled, errors will be returned as part of the output JSON instead of stopping execution.
Links and References
- Museai Official Website (logo link, no direct docs found in code)
- Refer to Museai API documentation (not included in source) for detailed model options and usage guidelines.