parserllm


Nameparserllm JSON
Version 0.0.1 PyPI version JSON
download
home_page
SummaryForce LLMs to use a specific context-free grammar in completions
upload_time2023-05-14 16:10:26
maintainerMatt Rickard
docs_urlNone
authorMatt Rickard
requires_python>=3.11,<4.0
licenseMIT
keywords llm ai prompt large language models gpt-3 chatgpt
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # parserLLM

Use a context-free grammar and a parser generator to determine valid next tokens for an LLM generation. See [examples/example.py](examples/example.py) for an example of how to use this library. Run it with `python examples/example.py`.
            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "parserllm",
    "maintainer": "Matt Rickard",
    "docs_url": null,
    "requires_python": ">=3.11,<4.0",
    "maintainer_email": "pypi@matt-rickard.com",
    "keywords": "llm,ai,prompt,large language models,gpt-3,chatgpt",
    "author": "Matt Rickard",
    "author_email": "pypi@matt-rickard.com",
    "download_url": "https://files.pythonhosted.org/packages/06/00/aa2e7512572e0e3a61a43135b6d157356d491c133d9b9a7c02926af7fff1/parserllm-0.0.1.tar.gz",
    "platform": null,
    "description": "# parserLLM\n\nUse a context-free grammar and a parser generator to determine valid next tokens for an LLM generation. See [examples/example.py](examples/example.py) for an example of how to use this library. Run it with `python examples/example.py`.",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Force LLMs to use a specific context-free grammar in completions",
    "version": "0.0.1",
    "project_urls": {
        "repository": "https://github.com/r2d4/parserllm"
    },
    "split_keywords": [
        "llm",
        "ai",
        "prompt",
        "large language models",
        "gpt-3",
        "chatgpt"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b1f394801b1f4d061dae03dccf66f5c3f64fc101abe2054c39a26b031b5ab091",
                "md5": "3d582a6c93c09cc5c445118975a5b2c2",
                "sha256": "adf61be4529c5cf7c994b3ca813e4871de1ae6a0e3c751e2c00cae3a73bb9189"
            },
            "downloads": -1,
            "filename": "parserllm-0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3d582a6c93c09cc5c445118975a5b2c2",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11,<4.0",
            "size": 3142,
            "upload_time": "2023-05-14T16:10:24",
            "upload_time_iso_8601": "2023-05-14T16:10:24.280266Z",
            "url": "https://files.pythonhosted.org/packages/b1/f3/94801b1f4d061dae03dccf66f5c3f64fc101abe2054c39a26b031b5ab091/parserllm-0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0600aa2e7512572e0e3a61a43135b6d157356d491c133d9b9a7c02926af7fff1",
                "md5": "58b2f404e71bbb50ba23394bb035172f",
                "sha256": "33e2dd2ad00e48783e48464081ce78ddba190defefed3c2521347a1dca42cc41"
            },
            "downloads": -1,
            "filename": "parserllm-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "58b2f404e71bbb50ba23394bb035172f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11,<4.0",
            "size": 2605,
            "upload_time": "2023-05-14T16:10:26",
            "upload_time_iso_8601": "2023-05-14T16:10:26.093015Z",
            "url": "https://files.pythonhosted.org/packages/06/00/aa2e7512572e0e3a61a43135b6d157356d491c133d9b9a7c02926af7fff1/parserllm-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-14 16:10:26",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "r2d4",
    "github_project": "parserllm",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "parserllm"
}
        
Elapsed time: 0.15659s