ittia-check


Nameittia-check JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/ittia-research/check
SummaryConnect to the ITTIA Check API or self-hosted ones
upload_time2024-09-09 08:57:17
maintainerNone
docs_urlNone
authorITTIA
requires_python<4.0,>=3.8
licenseMIT
keywords fact-check ai llm rag
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            This package connects to the ITTIA Check API.

More on this project and how to self-host one: https://github.com/ittia-research/check

## How-to
Demo on how to fact-check a text:
```python
import asyncio
from ittia_check import Check

base_url = "https://check.ittia.net"
format = "json"  # or markdown

check = Check(base_url=base_url, format=format)

query = "Germany hosted the 2024 Olympics"

result = asyncio.run(check(query))

print(result)
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ittia-research/check",
    "name": "ittia-check",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.8",
    "maintainer_email": null,
    "keywords": "fact-check, ai, llm, rag",
    "author": "ITTIA",
    "author_email": "contact@ittia.net",
    "download_url": "https://files.pythonhosted.org/packages/73/55/18c99b6a5594b6b43d50ea44e248c2f23a6731b398ad1816dbf9aa80cc06/ittia_check-0.1.0.tar.gz",
    "platform": null,
    "description": "This package connects to the ITTIA Check API.\n\nMore on this project and how to self-host one: https://github.com/ittia-research/check\n\n## How-to\nDemo on how to fact-check a text:\n```python\nimport asyncio\nfrom ittia_check import Check\n\nbase_url = \"https://check.ittia.net\"\nformat = \"json\"  # or markdown\n\ncheck = Check(base_url=base_url, format=format)\n\nquery = \"Germany hosted the 2024 Olympics\"\n\nresult = asyncio.run(check(query))\n\nprint(result)\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Connect to the ITTIA Check API or self-hosted ones",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://github.com/ittia-research/check",
        "Repository": "https://github.com/ittia-research/check"
    },
    "split_keywords": [
        "fact-check",
        " ai",
        " llm",
        " rag"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ccf5346f5cf08d58d78bcb47a890960a89f689d04b9abce6ddb66111a59b60f2",
                "md5": "902780c292312571819a68903b7049f6",
                "sha256": "0829eef3631f03a9d52abeb8d38e0d23a65eb88941d8dfd70f40151cf91dc78b"
            },
            "downloads": -1,
            "filename": "ittia_check-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "902780c292312571819a68903b7049f6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8",
            "size": 2354,
            "upload_time": "2024-09-09T08:57:16",
            "upload_time_iso_8601": "2024-09-09T08:57:16.313081Z",
            "url": "https://files.pythonhosted.org/packages/cc/f5/346f5cf08d58d78bcb47a890960a89f689d04b9abce6ddb66111a59b60f2/ittia_check-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "735518c99b6a5594b6b43d50ea44e248c2f23a6731b398ad1816dbf9aa80cc06",
                "md5": "1726a567e0f7ad7794ded05b49d9f67c",
                "sha256": "af6c60a6abf3c85760127323ffa5b666a3819ef211151985db2bbde306d94617"
            },
            "downloads": -1,
            "filename": "ittia_check-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "1726a567e0f7ad7794ded05b49d9f67c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8",
            "size": 2000,
            "upload_time": "2024-09-09T08:57:17",
            "upload_time_iso_8601": "2024-09-09T08:57:17.712077Z",
            "url": "https://files.pythonhosted.org/packages/73/55/18c99b6a5594b6b43d50ea44e248c2f23a6731b398ad1816dbf9aa80cc06/ittia_check-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-09 08:57:17",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ittia-research",
    "github_project": "check",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "ittia-check"
}
        
Elapsed time: 0.31906s