prompt_collapse


Nameprompt_collapse JSON
Version 0.1.3.5 PyPI version JSON
download
home_pagehttps://github.com/kraglik/prompt_collapse
SummaryA prompt generation system that manages relationships between prompt components to maintain logical consistency
upload_time2024-12-15 13:10:37
maintainerNone
docs_urlNone
authorkraglik
requires_python>=3.10
licenseMIT
keywords prompt generation ai stable-diffusion comfyui
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # PromptCollapse

A prompt generation system that manages relationships between prompt components to maintain logical consistency. Integrates with ComfyUI as a custom node.

## Overview

PromptCollapse builds prompts by selecting components based on their inferred relationships.
Each component has its own set of parameters that are only valid within the component execution context.
Component might be purely abstract, meaning that it won't produce any prompt fragments at all, but would coordinate other components instead.

## Usage

A minimalistic example can be found in "components/sky.yaml".

## ComfyUI Integration

The system provides a custom node with the following inputs:

- **Prompt**: Initial component tags (comma-separated)
- **Components Directory Path**: Component library directory
- **Reload on Generation**: Toggle component reloading
- **Seed**: Random seed for component selection

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/kraglik/prompt_collapse",
    "name": "prompt_collapse",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "prompt, generation, ai, stable-diffusion, comfyui",
    "author": "kraglik",
    "author_email": "kraglik.i.d@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/30/15/a31fc4f2ba0e9ca2843dac9682470d85dd8c90adbeeaf4c157f2cd962a8c/prompt_collapse-0.1.3.5.tar.gz",
    "platform": null,
    "description": "# PromptCollapse\n\nA prompt generation system that manages relationships between prompt components to maintain logical consistency. Integrates with ComfyUI as a custom node.\n\n## Overview\n\nPromptCollapse builds prompts by selecting components based on their inferred relationships.\nEach component has its own set of parameters that are only valid within the component execution context.\nComponent might be purely abstract, meaning that it won't produce any prompt fragments at all, but would coordinate other components instead.\n\n## Usage\n\nA minimalistic example can be found in \"components/sky.yaml\".\n\n## ComfyUI Integration\n\nThe system provides a custom node with the following inputs:\n\n- **Prompt**: Initial component tags (comma-separated)\n- **Components Directory Path**: Component library directory\n- **Reload on Generation**: Toggle component reloading\n- **Seed**: Random seed for component selection\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A prompt generation system that manages relationships between prompt components to maintain logical consistency",
    "version": "0.1.3.5",
    "project_urls": {
        "Documentation": "https://github.com/kraglik/prompt_collapse",
        "Homepage": "https://github.com/kraglik/prompt_collapse",
        "Repository": "https://github.com/kraglik/prompt_collapse"
    },
    "split_keywords": [
        "prompt",
        " generation",
        " ai",
        " stable-diffusion",
        " comfyui"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4c1c89ec820098e93b33d1ffa875aae829872a5910624378018cc1f08cc79a05",
                "md5": "6267b08fb86f3e1c795f0fa3cd4b8a4e",
                "sha256": "3822f2c21a2425e266d953c637f6d4c3da69b3dc6fedc6ef1abba494eb968b81"
            },
            "downloads": -1,
            "filename": "prompt_collapse-0.1.3.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6267b08fb86f3e1c795f0fa3cd4b8a4e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 32917,
            "upload_time": "2024-12-15T13:10:35",
            "upload_time_iso_8601": "2024-12-15T13:10:35.552629Z",
            "url": "https://files.pythonhosted.org/packages/4c/1c/89ec820098e93b33d1ffa875aae829872a5910624378018cc1f08cc79a05/prompt_collapse-0.1.3.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3015a31fc4f2ba0e9ca2843dac9682470d85dd8c90adbeeaf4c157f2cd962a8c",
                "md5": "c09af6c02ea6ebbbbb5d16caeebf160e",
                "sha256": "c2c5e109a1ee803fbf4ac4c3c7be7beaa0fe76ad7cadbc0c1b93e80a6a8645a3"
            },
            "downloads": -1,
            "filename": "prompt_collapse-0.1.3.5.tar.gz",
            "has_sig": false,
            "md5_digest": "c09af6c02ea6ebbbbb5d16caeebf160e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 13538,
            "upload_time": "2024-12-15T13:10:37",
            "upload_time_iso_8601": "2024-12-15T13:10:37.850686Z",
            "url": "https://files.pythonhosted.org/packages/30/15/a31fc4f2ba0e9ca2843dac9682470d85dd8c90adbeeaf4c157f2cd962a8c/prompt_collapse-0.1.3.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-15 13:10:37",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "kraglik",
    "github_project": "prompt_collapse",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "prompt_collapse"
}
        
Elapsed time: 0.84600s