Skip to content

Shapes Inc Integration

Overview

Shapes Inc is a developer platform for building AI applications with seamless UI components and robust backend capabilities. It allows developers to create complex AI workflows and user interfaces without extensive coding.

Key Features

  • Building custom AI chatbots with sophisticated UIs
  • Creating data processing and analysis applications
  • Developing content generation and management tools
  • Implementing AI-powered search and recommendation systems
  • Building interactive documentation and knowledge bases

Use Cases

  • Building custom AI chatbots with sophisticated UIs
  • Creating data processing and analysis applications
  • Developing content generation and management tools
  • Implementing AI-powered search and recommendation systems
  • Building interactive documentation and knowledge bases

Setup Instructions

1. Sign Up for Shapes Inc:

  • Visit Shapes Inc website and create an account
  • Complete the onboarding process to access the dashboard

2. Create a New Project For Discord:

  • From the discord developer dashboard, click “New Application”
  • Give your project a name, e.g., “relaxAI Integration”
  • Setup your discord bot and get the bot token for shapes. For more detais on the step follow here.

3. Configure AI Provider:

  • After configuring the bot, go to the Shapes Inc dashboard.
  • In your project settings, navigate to “AI Providers”
  • Click “Add Provider” and select “Custom OpenAI-compatible API”

4. Enter API Details:

  • Input the following information:
    Provider Name: Custom LLM
    API Base URL: https://api.relax.ai/v1/
    API Key: RELAX_API_KEY
    Available Models: [List your model names]
  • Click “Save Provider” to store your settings

5. Create a Workflow:

  • Navigate to the “Workflows” section
  • Click “Create Workflow” to open the workflow designer
  • Give your workflow a name, e.g., “Text Generation”

6. Add AI Processing Node:

  • Drag the “AI Text Generation” node from the components panel
  • Configure the node to use your custom provider and model
  • Set parameters like temperature, max tokens, etc.

7. Complete Your Workflow:

  • Add input and output nodes to create a complete workflow
  • Connect the nodes to establish processing flow:
  • Input Node → Text Preprocessing (optional)
  • Text Preprocessing → AI Text Generation
  • AI Text Generation → Output Formatting (optional)
  • Output Formatting → Output Node

8. Design UI Components:

  • Switch to the “UI Designer” tab
  • Drag and drop components to create your interface
  • Connect UI components to your workflow endpoints

9. Test Your Application:

  • Click the “Preview” button to test your application
  • Try different inputs and verify the AI responses
  • Make adjustments as needed to improve performance

10. Deploy Your Application:

  • When satisfied with your app, click “Deploy”
  • Choose deployment options (web, API, or embedded)
  • Configure deployment settings and launch your application

Advanced Features

Shapes Inc offers several advanced features for complex AI applications:

  1. Multi-Model Pipelines: Chain multiple AI models together for sophisticated processing
  2. Custom Function Nodes: Add JavaScript functions to handle complex logic
  3. Data Connectors: Integrate with databases and external APIs
  4. User Authentication: Add login and user management to your applications
  5. Analytics Dashboard: Track usage and performance of your AI applications

Resources