Safi is a versatile and super fast Ai Platform. This is a Python library for Safi API.
Project description
safi - Pure
Safi is a versatile and high performance Ai Platform. This is a Python library for Safi APIs.
Installation
You can install this package using pip:
pip install safi
##Usage
from safi import Safi
# Get your api key 'your_api_key' from your account dashbaord on safi.insolify.com
api_key = 'your_api_key'
# Basic Usage for
safi = Safi(api_key,'chat')
response = safi.chat('Hi Safi').go()
print(response....)
#Deleting a record operation
response = safibase.lake('test_lake').record('test_record').delete('at id='2'').run()
print(response)
# Usage with voice input
safi = safi(api_key, lang='pidgin')
response = safibase.chat(record.mp3).go()
print(response.......)
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
safi-0.0.1.tar.gz
(2.4 kB
view details)
Built Distribution
safi-0.0.1-py3-none-any.whl
(2.3 kB
view details)
File details
Details for the file safi-0.0.1.tar.gz
.
File metadata
- Download URL: safi-0.0.1.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cb09b85ed5c5a605314197fe424d400ae25b94680b41ac5d7782cd633d05e48 |
|
MD5 | 4c76a9d725ea55e5c896d51d07323b7b |
|
BLAKE2b-256 | ee55e9550f7b75f69d11973d8cec9f1d371b45aa97a9fee3ea9c10c724dd1bea |
File details
Details for the file safi-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: safi-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9e1578d5330c44556e3ae3deaf11ee617085a1182dfa9e2741a16c801783d17 |
|
MD5 | bc4ae1feb0196a990b73d7c0f4b959f8 |
|
BLAKE2b-256 | 374cb263f342d1d63b20e6c3db7edc0ea7c8c058ae3fe9a16c3d218096632a95 |