remove files

This commit is contained in:
Bentlybro
2025-01-10 12:47:54 +00:00
parent 8bf977958a
commit 8baabb0379
9 changed files with 0 additions and 353 deletions

View File

@@ -1,40 +0,0 @@
## Agent Executor
### What it is
A specialized block that allows you to run an existing agent within your current agent, enabling nested agent execution capabilities.
### What it does
This block executes a pre-configured agent (identified by a graph) and monitors its execution, collecting and forwarding any outputs produced during the execution process.
### How it works
1. Takes information about which agent to run (graph details) and input data
2. Starts the execution of the specified agent
3. Listens for events from the running agent
4. Monitors the execution progress
5. Collects and forwards any outputs produced by the agent
6. Continues until the execution is completed, terminated, or fails
### Inputs
- User ID: The identifier of the user running the agent
- Graph ID: The identifier of the specific agent (graph) to execute
- Graph Version: The version number of the agent to run
- Data: The actual input data that will be processed by the agent
- Input Schema: The structure definition for the input data
- Output Schema: The structure definition for the expected output data
### Outputs
This block's outputs are dynamic and depend on the executed agent. It will yield:
- Output Name: The name/identifier of each output produced
- Output Data: The actual data/content produced by the executed agent
### Possible use case
Imagine you have a complex task that requires multiple agents to work together. For example, you might have a main agent that needs to:
1. Analyze customer feedback
2. Generate responses
3. Translate those responses to different languages
Instead of building all this functionality into one agent, you could use the Agent Executor to run specialized agents for each subtask. The main agent would use this block to execute each specialized agent in sequence, passing the results from one to the next.
This block would help coordinate these nested agents, ensuring each one runs properly and their outputs are correctly captured and passed along to the next stage of processing.

View File

@@ -1,45 +0,0 @@
## AI Image Generator
### What it is
A versatile tool that generates images using various AI models through a unified interface, allowing users to create custom images from text descriptions with different styles and formats.
### What it does
Transforms text descriptions into high-quality images using different AI models while allowing users to specify the image size, style, and preferred AI model for generation.
### How it works
The block takes a text prompt and configuration options, sends them to the selected AI model through Replicate's service, and returns a URL to the generated image. It handles different image formats and styles across multiple AI models, automatically adjusting the prompt and parameters to match each model's requirements.
### Inputs
- Credentials: Replicate API key required to access the image generation service
- Prompt: Text description of the image you want to generate (e.g., "A red panda using a laptop in a snowy forest")
- Model: Choice of AI model for image generation:
- Flux 1.1 Pro
- Flux 1.1 Pro Ultra
- Recraft v3
- Stable Diffusion 3.5 Medium
- Image Format: Desired size and shape of the generated image:
- Square: For profile pictures and icons
- Landscape: For traditional photos
- Portrait: For vertical photos
- Wide: For cinematic scenes and desktop wallpapers
- Tall: For mobile wallpapers and stories
- Image Style: Visual style preference for the generated image, including:
- Realistic styles (natural, studio, black & white, HDR)
- Digital art styles (pixel art, hand-drawn, sketch)
- Various artistic effects (grain, poster, engraving)
### Outputs
- Image URL: Web address where the generated image can be accessed
- Error: Message explaining what went wrong if the image generation fails
### Possible use cases
- Marketing team creating custom social media visuals
- Product designer generating concept art
- Content creator making thumbnails for videos
- E-commerce platform creating product mockups
- Social media manager generating consistent brand imagery
- Game developer creating placeholder artwork
- Educational content creator making visual aids
- Personal blogger creating featured images

View File

@@ -1,45 +0,0 @@
## AI Music Generator
### What it is
A powerful tool that creates custom music using Meta's MusicGen model through the Replicate platform.
### What it does
Generates original music based on text descriptions, allowing users to create custom audio tracks by simply describing the kind of music they want.
### How it works
The block takes a text description and various musical parameters, sends them to Meta's MusicGen model, and returns a URL containing the generated audio file. It includes automatic retries if generation fails and supports different output formats and normalization strategies.
### Inputs
- Credentials: Replicate API key for accessing the music generation service
- Prompt: Text description of the music you want to generate (e.g., "An upbeat electronic dance track with heavy bass")
- Model Version: Choice of three model versions:
- Stereo Large: For high-quality stereo audio
- Melody Large: Optimized for melodic content
- Large: Standard model for general use
- Duration: Length of the generated audio in seconds (default: 8 seconds)
- Temperature: Controls creativity level of the generation (default: 1.0)
- Top K: Controls variety in the generation by limiting token choices (default: 250)
- Top P: Alternative sampling method for controlling generation variety (default: 0.0)
- Classifier Free Guidance: Controls how closely the output follows the input description (default: 3)
- Output Format: Choice between WAV or MP3 file formats
- Normalization Strategy: Audio normalization method (Loudness, Clip, Peak, or RMS)
### Outputs
- Result: URL link to the generated audio file
- Error: Error message if the generation process fails
### Possible use cases
- Creating background music for videos or presentations
- Generating custom soundtracks for games or apps
- Producing demo tracks for musical concepts
- Creating ambient music for installations or events
- Prototyping musical ideas quickly
- Generating unique sound effects for multimedia projects
### Additional Notes
- The block automatically retries up to 3 times if generation fails
- Includes built-in error handling and logging
- Supports multiple audio formats and normalization strategies
- Can be integrated with other blocks for more complex audio processing workflows

View File

@@ -1,49 +0,0 @@
## AI Shortform Video Creator
### What it is
A powerful tool that automatically creates short-form videos by combining AI-generated or stock visuals with narration and background music.
### What it does
Transforms text scripts into engaging videos by generating visuals, adding AI voice narration, and incorporating background music. The tool can create videos in different styles, from stock footage to AI-generated content.
### How it works
1. Takes a script with special formatting where regular text is spoken and [bracketed text] guides visual generation
2. Creates a webhook to monitor the video creation process
3. Sends the request to Revid.ai with specified parameters
4. Monitors the video creation progress
5. Returns the final video URL once complete
### Inputs
- Credentials: API key required to access the Revid.ai service
- Script: Text content with special formatting (regular text for narration, [bracketed text] for visual guidance)
- Ratio: Video aspect ratio (default: 9/16 for vertical videos)
- Resolution: Video quality setting (default: 720p)
- Frame Rate: Video smoothness setting (default: 60 fps)
- Generation Preset: Visual style for AI-generated content (options include Default, Anime, Realism, Illustration, etc.)
- Background Music: Choice of background track (multiple options available like Highway Nocturne, Observer, Futuristic Beat)
- Voice: AI narrator voice selection (options include Lily, Daniel, Brian, Jessica, Charlotte, Callum)
- Video Style: Type of visuals to use (Stock Videos, Moving AI Images, or AI Video)
### Outputs
- Video URL: Direct link to the finished video
- Error: Message explaining what went wrong (if the process fails)
### Possible use cases
- Creating engaging social media content for platforms like TikTok or Instagram
- Generating product demonstrations or explanatory videos
- Producing educational content with visual aids
- Creating quick marketing videos for businesses
- Developing automated news or information snippets
- Converting blog posts or articles into video format
### Example Usage
Input script:
```
[close-up of a steaming coffee cup] Start your morning right with the perfect brew.
[barista carefully pouring latte art] Our expert baristas craft each drink with precision.
[happy customers in a cozy café] Join us for an unforgettable coffee experience.
```
This would create a video with matching visuals for each line, AI narration, and background music, perfect for a café's social media marketing.

View File

@@ -1,41 +0,0 @@
## Code Execution Block
### What it is
A secure sandbox environment that allows users to execute code in various programming languages with internet access.
### What it does
This block provides a safe and isolated environment where users can run code in different programming languages (Python, JavaScript, Bash, R, and Java), install packages, and execute setup commands. It captures the code's output, standard logs, and any potential errors.
### How it works
The block creates an isolated sandbox environment using the E2B platform. It first runs any specified setup commands (like installing packages), then executes the provided code in the chosen programming language. The system captures all outputs and logs, and automatically terminates the sandbox after completion or if an error occurs.
### Inputs
- Credentials: E2B API key required to access the sandbox environment
- Setup Commands: Optional shell commands to prepare the environment (e.g., installing packages or downloading files)
- Code: The actual code to be executed in the sandbox
- Programming Language: Choice of language to run the code (Python, JavaScript, Bash, R, or Java)
- Timeout: Maximum time in seconds allowed for code execution (default: 300 seconds)
- Template ID: Optional ID for using a pre-configured sandbox template with custom CPU and memory settings
### Outputs
- Response: The main output or result from the code execution
- Standard Output Logs: Regular output messages generated during code execution
- Standard Error Logs: Error messages and warnings generated during code execution
- Error: Any error message if the execution failed
### Possible use cases
1. Educational platforms where students can safely experiment with different programming languages
2. Testing code snippets in a secure environment before deployment
3. Running data analysis scripts that require specific package installations
4. Automated code testing systems
5. Interactive coding tutorials and workshops
6. API testing and integration testing
7. Running potentially risky code in a sandboxed environment
### Important Notes
- The sandbox provides internet access for downloading packages or accessing online resources
- The environment is Debian-based with pre-installed package managers like pip and npm
- Users can customize CPU and memory resources by using pre-configured sandbox templates
- All executions are automatically terminated after the specified timeout period
- The environment is completely isolated, ensuring secure code execution

View File

@@ -1,37 +0,0 @@
## Word Character Count
### What it is
A text analysis tool that counts both words and characters in any given text.
### What it does
This block takes a piece of text and performs two basic counting operations:
1. Counts the total number of words
2. Counts the total number of characters (including spaces and punctuation)
### How it works
The block processes your input text by:
1. Breaking down the text into individual words to count them
2. Counting all characters (including spaces and punctuation marks)
3. Providing both counts as separate outputs
4. If any errors occur during processing, it will provide an error message
### Inputs
- Text: The text you want to analyze. This can be any string of characters, such as a sentence, paragraph, or entire document.
### Outputs
- Word Count: The total number of words found in your text
- Character Count: The total number of characters (including spaces and punctuation) in your text
- Error: A message explaining what went wrong if the counting process encounters any problems
### Possible use case
A content writer could use this block to:
- Verify if their article meets specific word count requirements
- Check the length of social media posts to ensure they fit within character limits
- Monitor the length of blog post titles
- Track writing progress by counting words in different sections of their content
For example, if you input the text "Hello, how are you?", the block will tell you that it contains:
- 4 words
- 19 characters (including the spaces, comma, and question mark)

View File

@@ -1,36 +0,0 @@
## CSV Reader
### What it is
A data processing tool that reads and interprets CSV (Comma-Separated Values) files, converting them into a more usable format.
### What it does
This block reads CSV file contents and transforms them into structured data, processing the file row by row. It can handle different file formats and configurations, and outputs both individual rows and the complete dataset.
### How it works
The block takes CSV content as text and processes it according to specified settings. It first checks for a header row if specified, then reads through each line of the file, organizing the data into a structured format. It can skip certain rows or columns and clean up the data by removing extra spaces if needed.
### Inputs
- Contents: The actual content of the CSV file that needs to be processed
- Delimiter: The character that separates values in your CSV file (default is comma ",")
- Quote Character: The character used to enclose special values (default is double quote """)
- Escape Character: The character used to handle special characters in the file (default is backslash "\")
- Has Header: Whether the first row contains column names (default is Yes)
- Skip Rows: Number of rows to skip from the beginning of the file (default is 0)
- Strip: Whether to remove extra spaces from values (default is Yes)
- Skip Columns: List of column names to exclude from the output (default is none)
### Outputs
- Row: Individual rows of data from the CSV file, presented as key-value pairs where keys are either column headers or column numbers
- All Data: The complete dataset as a list of all processed rows
### Possible use case
A business analyst needs to process monthly sales reports that come in CSV format. The reports have a header row and some empty rows at the top that need to be skipped. The analyst can use this block to:
1. Load the CSV file
2. Skip the unnecessary rows
3. Automatically recognize column names from the header
4. Get clean, structured data for further analysis
5. Process either individual rows for immediate actions or work with the complete dataset for overall analysis
This block would handle all the data preparation automatically, saving time and reducing the chance of errors from manual data handling.

View File

@@ -1,27 +0,0 @@
## Text Decoder
### What it is
A utility block that converts text containing escaped characters into readable, properly formatted text.
### What it does
This block takes text that contains special escape sequences (like \n for new lines or \" for quotation marks) and converts them into their actual intended characters. It makes text that might look messy or coded into clean, properly formatted text with actual line breaks and proper punctuation.
### How it works
The block processes the input text and looks for special character combinations (escape sequences) that represent formatting or special characters. It then replaces these sequences with their actual intended characters. For example, it turns "\n" into actual line breaks and '\"' into regular quotation marks.
### Inputs
- Text: The text you want to decode, which may contain escape sequences like \n for new lines or \" for quotation marks. This could be text that was copied from a programming environment or exported from another system.
### Outputs
- Decoded Text: The cleaned-up version of your text, with all escape sequences properly converted into their actual characters. The text will appear properly formatted with actual line breaks and proper punctuation.
### Possible use case
Imagine you're working with text exported from a programming environment or database, and it looks like this: "Hello\nWorld!\nThis is a \"quoted\" string." The Text Decoder would transform this into properly formatted text that looks like this:
```
Hello
World!
This is a "quoted" string.
```
This would be particularly useful when processing exported data, working with system outputs, or cleaning up text that contains escape sequences for display to end users.

View File

@@ -1,33 +0,0 @@
## Replicate Flux Advanced Model
### What it is
An advanced AI image generation block that creates images from text descriptions using various Flux models (Flux Schnell, Flux Pro, or Flux Pro 1.1) through the Replicate platform.
### What it does
This block transforms text descriptions into high-quality images while offering extensive customization options for the generation process. Users can control various aspects of the image generation, including image quality, style, and safety parameters.
### How it works
The block takes a text prompt and various customization parameters, sends them to the selected Flux model on Replicate's platform, and returns a URL to the generated image. It handles all the technical aspects of communicating with the AI model and ensuring proper image generation.
### Inputs
- Credentials: Replicate API key needed to access the service
- Prompt: The text description of the image you want to generate
- Image Generation Model: Choice between Flux Schnell, Flux Pro, or Flux Pro 1.1 models
- Seed: Optional number for reproducible results
- Steps: Number of refinement steps in the generation process (default: 25)
- Guidance: Balance between prompt accuracy and image quality (default: 3)
- Interval: Controls output variance and prompt following (default: 2)
- Aspect Ratio: Image dimensions ratio (options: 1:1, 16:9, 2:3, 3:2, 4:5, 5:4, 9:16)
- Output Format: Image file format (WEBP, JPG, or PNG)
- Output Quality: Image quality setting from 0-100 (default: 80)
- Safety Tolerance: Content safety level from 1 (strict) to 5 (permissive)
### Outputs
- Result: URL link to the generated image
- Error: Error message if something goes wrong during generation
### Possible use case
A marketing team needs to create unique visuals for a campaign. They could use this block by entering a prompt like "A futuristic cityscape at sunset" and adjusting parameters such as aspect ratio for different social media platforms. The block would generate professional-quality images that match their description, which they can then download and use in their marketing materials.