A client library for accessing Crisper API
Project description
Install SDK
pip install crisper-ai
sdk.py usage
from crisper_api_client import Crisper
client = Crisper()
assistant = client.create_assistant(name="customer-support-bot")
Add a knowlege source
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
assistant.ask("How do I get a refund?")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
crisper_ai-0.3.2.tar.gz
(8.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file crisper_ai-0.3.2.tar.gz.
File metadata
- Download URL: crisper_ai-0.3.2.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.7 Darwin/23.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d7babb1bf885586a7daa19010835f66e150e5bed73848776b24a098fc0e7f4f
|
|
| MD5 |
b44407e057c69debb2f29390244887f7
|
|
| BLAKE2b-256 |
53a77ede314ea32f8b968353dba1063b03c83455c6fad00a960554d94850bced
|
File details
Details for the file crisper_ai-0.3.2-py3-none-any.whl.
File metadata
- Download URL: crisper_ai-0.3.2-py3-none-any.whl
- Upload date:
- Size: 19.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.7 Darwin/23.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9bd859acb54b9514e2af026a5912703f49440aef2083b21608b7e7ec593c6705
|
|
| MD5 |
c44c622f1adb31226a8dbfbc511899cf
|
|
| BLAKE2b-256 |
5648201542714884c0734796ad7c90347d24cfc4b37d9a5f4f072e4ef7c6923c
|