A client library for accessing Crisper API
Project description
Install SDK
pip install crisper-ai
sdk.py usage
from crisper_api_client import Crisper
assistant = Crisper.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.4.tar.gz
(8.6 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.4.tar.gz.
File metadata
- Download URL: crisper_ai-0.3.4.tar.gz
- Upload date:
- Size: 8.6 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 |
0d4b0f8dac4d6f384d91da89b1d71b535bbc257d5dbaca6ed9ca4d29413dd92c
|
|
| MD5 |
f1b77b6cf135c8790c11e2184fc3b85b
|
|
| BLAKE2b-256 |
a24e639745db4fb53862d630eb2bfa49af40a22df6bd677f01a3bc0f46b9a7f1
|
File details
Details for the file crisper_ai-0.3.4-py3-none-any.whl.
File metadata
- Download URL: crisper_ai-0.3.4-py3-none-any.whl
- Upload date:
- Size: 19.1 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 |
2403c52641e7bd63b184b750956768b97156d3b09679ae0c20e0ff83c067eae3
|
|
| MD5 |
5a4181a59674bf710d8bb1a17e2897ce
|
|
| BLAKE2b-256 |
4b7f01c42e8805fd3a6d221e5a3392a91f59d64db9a5f981dfc61c9c1a46ed99
|