Package Information
Available Nodes
Documentation
n8n-nodes-upstage
Upstage LLM and Embeddings nodes for n8n, powered by Upstage Solar models.
Description
This package provides n8n community nodes for integrating with Upstage's Solar LLM and embedding models. Solar is a series of large language models that deliver exceptional performance with efficiency.
Features
- Solar Chat Model: Use Solar LLM for chat completions with support for multiple models (solar-mini, solar-pro, solar-pro2)
- Solar Embeddings: Generate high-quality embeddings using Solar embedding models
- Easy Authentication: Simple API key-based authentication
- Multiple Input Types: Support for single text or batch processing
- Comprehensive Options: Temperature, max tokens, top-p, and more
Installation
Prerequisites
- n8n version 1.0.0 or later
- Node.js 18.0.0 or later
Install via n8n Community Nodes
Enable Community Nodes (if not already enabled):
export N8N_COMMUNITY_NODES_ENABLED=true n8n startInstall via n8n UI:
- Go to Settings → Community Nodes
- Click Install a community node
- Enter:
n8n-nodes-upstage - Click Install
Install via npm (alternative):
npm install n8n-nodes-upstage
Setup
1. Get API Key
- Sign up at Upstage Console
- Navigate to API Keys section
- Create a new API key
2. Configure Credentials
- In n8n, go to Credentials → Create New
- Search for "Upstage API"
- Enter your API key
- Test and save
Available Nodes
Solar Chat Model
Use Solar LLM models for chat completions.
Supported Models:
solar-mini- Fast and efficient for basic taskssolar-pro- Powerful model for complex taskssolar-pro2- Latest and most advanced Solar model
Key Features:
- Message-based conversation format
- Configurable temperature, max tokens, top-p
- Support for system, user, and assistant roles
- Streaming response option
Embeddings Upstage
Generate high-quality embeddings using Solar embedding models.
Supported Models:
embedding-query- Optimized for search queries and questionsembedding-passage- Optimized for documents and passages
Key Features:
- Single text or batch processing
- Input from node parameters or previous node data
- High-dimensional vector outputs
Usage Examples
Simple Chat Completion
- Add Solar Chat Model node
- Configure with your Upstage API credentials
- Set model to
solar-mini - Add a message with role "user" and your prompt
- Execute to get AI response
Text Embeddings
- Add Embeddings Upstage node
- Configure credentials
- Choose appropriate model (query vs passage)
- Input your text
- Get embedding vectors for similarity search, clustering, etc.
Batch Processing
Use the Embeddings Upstage node with "Array of Texts" input type to process multiple texts efficiently in a single API call.
API Reference
Solar Chat API
- Endpoint:
https://api.upstage.ai/v1/solar/chat/completions - Documentation: Upstage Chat API
Solar Embeddings API
- Endpoint:
https://api.upstage.ai/v1/embeddings - Documentation: Upstage Embeddings API
Troubleshooting
Node Not Visible
- Check if community nodes are enabled
- Restart n8n completely
- Clear browser cache
- Check n8n logs for installation errors
API Errors
- Verify API key is correct and active
- Check network connectivity
- Review Upstage API documentation for rate limits
- Check model availability
Build Errors (for developers)
- Ensure TypeScript is installed:
npm install -g typescript - Check Node.js version compatibility
- Clear node_modules and reinstall:
rm -rf node_modules && npm install
Contributing
Contributions are welcome! Please feel free to submit issues and pull requests.
License
MIT License - see LICENSE file for details.