A client library for accessing Crisper API
Project description
Install SDK
pip install crisper
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.1.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.1.tar.gz.
File metadata
- Download URL: crisper_ai-0.3.1.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 |
611bd8e04ab5ca31ff2d31fbd802fa12f73c3e243f28d7d262e5f7f0267bd115
|
|
| MD5 |
5777349e0b5f2d9c25b66212a10295e6
|
|
| BLAKE2b-256 |
3f58521db6f14beeac16986be5d5a3d3309e7c21fb56ba1965d259dfd013830b
|
File details
Details for the file crisper_ai-0.3.1-py3-none-any.whl.
File metadata
- Download URL: crisper_ai-0.3.1-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 |
dd6c9419c19a4d0aa34943c484553a1baaf40c9e5ca026286ad3f4bcab8b03c4
|
|
| MD5 |
c1caa22c2cad66f4706fbafcd4e36cbe
|
|
| BLAKE2b-256 |
1be453874f9a83d8deeb563159575c48279b0d143a7ebb7210f827510238d038
|