Metadata-Version: 2.1
Name: ittia
Version: 0.1.0
Summary: Connect to the ITTIA APIs or self-hosted ones
Home-page: https://ittia.net
License: MIT
Keywords: fact-check,ai,llm,rag,api
Author: ITTIA
Author-email: contact@ittia.net
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: httpx (>=0.27.2,<0.28.0)
Project-URL: Repository, https://github.com/ittia-research/ittia-packages
Description-Content-Type: text/markdown

A python package connects to the ITTIA APIs.

## How-to
### Check
Demo on how to fact-check a text:
```python
import asyncio
from ittia 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)
```

## Self-host API
- Check: https://github.com/ittia-research/check

