Metadata-Version: 2.4
Name: datagoat
Version: 1.0.0
Summary: Ask yes/no, score, choice and rank questions about cases. Datagoat answers from what happened to cases like them: deterministic, with reasons, signed.
License: Apache-2.0
Project-URL: Homepage, https://datagoat.io
Project-URL: Documentation, https://datagoat.io/docs
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Provides-Extra: langchain
Requires-Dist: langchain-core>=0.3; extra == "langchain"
Provides-Extra: test
Requires-Dist: pytest; extra == "test"
Requires-Dist: pydantic; extra == "test"

# datagoat

Ask yes/no, score, choice and rank questions about cases. Datagoat answers from what happened to
cases like them: deterministic, with reasons, and a signed Verdict. It refuses rather than guess.

```bash
pip install datagoat
datagoat signup      # a free test key for the sample datasets
datagoat sample      # ask about sample:saas_churn and verify the answer
```

```python
from datagoat import Client, yesno, score
dg = Client()        # reads DATAGOAT_API_KEY, or the key `datagoat signup` saved
out = dg.ask({"churn": yesno("churned", outcome_is_desirable=False)},
             dataset_id="sample:saas_churn", entity_column="customer_id",
             subject_kind="org", cases={"ids": ["cust_0001"]})
```

Docs: https://datagoat.io/docs
