Hi everyone,
I'm excited to announce the initial release of a new set of nodes for interacting with the OpenRouter API (https://openrouter.ai/): node-red-contrib-openrouter
.
OpenRouter provides access to a wide variety of large language models (LLMs) from a single API, and these nodes make it easy to integrate them into your Node-RED flows.
KEEP IN MIND THIS WAS BUILT IN 5 HOURS USING AI. THINGS MAY BRAKE. TEST WITH FREE MODELS, REPORT BUGS
The suite currently includes the following nodes:
- Chat: The main node for interacting with chat models.
- Router: Route requests to different models based on your criteria.
- Prompt: A dedicated node for crafting and managing complex prompts.
- Embedding: Generate vector embeddings from text.
- Memory: Add conversational memory to your flows.
- Ranker: Rank different model choices.
- Tools: Integrate external tools and functions for your models to use.
- Evaluator: Evaluate model outputs.
- Orchestrator: Manage complex, multi-step AI workflows.
- Cost Tracker: Keep an eye on your API usage costs.
- Formatter: Format inputs and outputs.
- Vector Store: A simple node for vector storage and retrieval.
You can find the project on GitHub and install it from the Node-RED library:
- GitHub: https://github.com/Lizzard-Solutions/node-red-contrib-openrouter
- NPM Package : https://flows.nodered.org/node/node-red-contrib-openrouter
Finally, a big thank you to the Node-RED team (especially to @BartButenaers as he is the one that helped me several years ago to build my first node, and start my developer career), and the entire community. It's an amazing platform that i abuse for everything (intended and not ).
Cheers!