Metadata-Version: 2.1
Name: crisper-ai
Version: 0.3.0
Summary: Simple API for creating AI assistants
Home-page: https://github.com/crisperai/python-sdk
Author: Crisper Support
Author-email: support@crisper.ai
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown



### Install SDK
```bash
pip install crisper
```


### sdk.py usage

```python
from crisper_api_client import Crisper
client = Crisper()
assistant = client.create_assistant(name="customer-support-bot")
```


## Add a knowlege source

```python
assistant.add_knowledge_source(content_type="pdf", pdf="https://www.example.com/frequently-asked-questions.pdf")
assistant.add_knowledge_source(content_type="url", pdf="https://help.example.com")
```

## Ask a query

```python
assistant.ask("How do I get a refund?")
```
