Documentation
This is how you use things:
First off this server runs all Q / Nexus Platforms properties. It is an AWS EC2 t3-medium, which is essentially a potato, so be VERY gentle with the site. If it crashes don't tell me I already know. In fact the odds of it even being up for you to read this is low. This is an ALPHA release of a backend tool that powers runitbyq.com, which isn't even finished yet.
However, some of the features are now live and active. 🚀
Video works now, but images do not, dont use it, the quality is 0% until i fix the final bug
New enhance feature: it fills your prompt to proper size and provides proper prompt quality
Shift + Enter to keyboard send
Multi Image now active use for images
Warning: albums take like 45 minutes to generate so dont spam it, it is working unless you get a red error. You can guess how slow the other ones are from that. It will get faster in time.
For music, songs will be uploaded to suno.com, so you will need to ask me to upload them to Spotify for you (I will put your name as the owner for royalties unless your name is Mike).
Videos operational but the quality is 0% so dont use it yet. These are the most 'expensive' parts of the API and are limited, so if it's used too much, I'll need to turn it off. So don't use it unless you know what you're doing already, but no one will read any of this documentation that I'm typing.
Also if you are some rando contact me on https://nicklz.com before touching buttons
If anyone abuses the system I WILL make you meet Dave Matthews. This is your first and final warning.
[Formats]
[Formats] are needed when you dont choose a 'text' to something (for example the most well currently tested Text to [Song]). They are on the left 👈 and are JSON. Q Manifests will be available later (those are the big files)
Service Types
The types of services and their corresponding placeholders are documented below:
- text: Default Q
- imageToVideo: URL of image, converts to 5 second video clip
- textToVideo: Write the text in the Scene format (Press Help for format)
- textToScript: Write text and it will convert to Script format
- scriptToFilm: Write text in the Scene format (Press Help for format)
- textToMultiImage, textToStoryboard: Format: <number> <text> Example: 5 a pumpkin falling down a hill
- textToMultiVideo: Format: <number> <Scene> (Press Help for format)
- textToSong: Write text and an mp3 or wave song will be generated
- textToAlbum: Write text in the Songs format (Press Help for format)
- textToAlbumNoLyrics: Just give the genre in a comma separated list and an album without lyrics will be generated.
- albumToScript: Album Format to Script format (Press Help for format)
- textToBook: Text to a full novel, be EXTRA on the input to improve quality.
- darknessGenerator: Nothing you type here can stop the darkness just press send ...
- test: Runs basic systems test without API Calls
- default: Default service: Q
Code Documentation
This doesn't work 100% yet because once it does, it is quite literally skynet. Oops.
Select Mode: Code
Fill the array and function inputs with the following commands:
Array/Data EXAMPLE
# Header - basic info
"Functions and Arrays" is a file management, data management and
prompt engineering framework that is meant to be a replacement for traditional language frameworks.
The framework relies upon [Q], a proprietary AI service that can be licensed through https://cyberdynerobotic.systems/
Just 3 files can create entire applications.
Why are you still writing code? Sign up for a free trial.
!!!!!!!!!!!!!!!!!!!!!!!!!!!
USE TOKENS !
!
| : + !
!
[LINE] [COLON] [PLUS] !
!
!!!!!!!!!!!!!!!!!!!!!!!!!!
The following is the array file, where secrets or data are meant to be stored.
This can be written by hand, but should be generated from a [Q] manifest.
If done by hand, documentation is available upon request but not public.
|
FILENAME:examples/example1/selenium_purchaser.py
+ARG:filly
|
META:
+KEY:project_docroot\VALUE:./
+KEY:email\VALUE:TEST@gmail.com
+KEY:repo_address\VALUE:github.com/TEST/TEST.git
+KEY:repo_address\VALUE:github.com/TEST/TEST.git
+KEY:webpage\VALUE:https[COLON]//www.freshbrothers.com/locations/
Function/Process EXAMPLE
# Header - basic info
"Functions and Arrays" is a file management, data management and
prompt engineering framework that is meant to be a replacement for traditional language frameworks.
The framework relies upon [Q], a proprietary AI service that can be licensed through https://cyberdynerobotic.systems/
Just 3 files can create entire applications.
Why are you still writing code? Sign up for a free trial.
!!!!!!!!!!!!!!!!!!!!!!!!!!!
USE TOKENS !
!
| : + !
!
[LINE] [COLON] [PLUS] !
!
!!!!!!!!!!!!!!!!!!!!!!!!!!
The following is the function process file, it does all the work so you don't have to.
This can be written by hand, but should be generated from a [Q] manifest.
If done by hand, documentation is available upon request but not public.
|
COMMAND:rm -rf examples/example1 && mkdir examples/example1
|
COMMAND:cd examples/example1 && git config --global user.email "$email" && git config --global user.name "Nexus Platforms" && git clone $repo_address
|
COMMAND:cd examples/example1 && touch array_data
|
FILENAME:examples/example1/selenium_purchaser.py
+FILENAME_RELATIONS:[examples/example1/selenium_runner.sh]
+ARG:test3
+ARG:test4
+PROMPT:write a selenium purchaser script in python that is meant to be ran via command line in by the following command
python3 examples/example1/selenium_purchaser.py
The purchaser will open the webpage $webpage click on any a tag that has primary-bttn as the class and navigate then to whatever url that a href says.
Then there will be a div with a class submit-info-block and a button inside it, click that button it will close the modal.
Find a div with a data-m3id = 65ssj0q23n85d03gn6qmtb and within it a button tag, click that.
Click the first occurrence of a label with class custom-control-label.
Print the inner html of all the tags with a class order-info-cart-button.
|
COMMAND:cd examples/example1 && pip install selenium
|
COMMAND:cd examples/example1 && cp ../../function_process ./ && python3 selenium_purchaser.py
|
Functions and Arrays
"Functions and Arrays" is a file management, data management, and prompt engineering framework designed as an anti-framework. It's streamlined to just three essential files, capable of building extensive codebases across various languages and frameworks.
Introduction
This framework harnesses the power of [Q], a proprietary AI service available through Cyberdyne Robotic Systems. It eliminates the need to worry about syntax in different languages, focusing instead on the logical setup of two crucial files: arrays and functions.
Files Overview
function_process.php
This script orchestrates the core functionalities of the "Functions and Arrays" framework. It manages data processing, file operations, and executes commands efficiently. Below is an overview of the key functions:
- nexus_snake_case($string): Converts a string to snake_case format.
- nexus_replace_tokens($string): Replaces tokens in a string with their corresponding characters.
- nexus_get_filename($command): Extracts the filename from a command string.
- nexus_process_bits($bits, $variables, $type, $command_input, $command_number, &$weight): Processes bits of data and updates variables based on their type and key.
- nexus_process_array($input_array): Processes an input array, sorting and executing commands or updating files.
- nexus_process_file($file_path, $variables = ['COMMANDS' => []]): Processes a file and updates variables based on its content.
- nexus_q($state): Executes a command and handles prompts using [Q], translating output based on file extensions.
array_data
This file serves as the data repository for "Functions and Arrays", storing configurations, arguments, and metadata crucial for executing commands and managing files within the framework.