Python SDK library for interacting with AscenderAI clusters
Project description
AscenderAI SDK
⚡ Commuting with AscenderAI cluster in python with 1 lib ⚡
Installation
# For windows
pip install ascenderai
# For linux or mac os
pip3 install ascenderai
Usage
import asyncio
from ascenderai import AscenderAI
client = AscenderAI()
async def main():
response = await client.completions.create(
prompt="Explain me about LLMs",
max_tokens=5
)
print(response.choices[0].text)
asyncio.run(main())
Documentation
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
ascenderai-0.1.2.tar.gz
(6.3 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 ascenderai-0.1.2.tar.gz.
File metadata
- Download URL: ascenderai-0.1.2.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.2 Darwin/21.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cdc1ac38561d06c69bca96df9a53a6b363981554e4ea117b260745d247927653
|
|
| MD5 |
9703a68cc221c303d3cfb8abb5484419
|
|
| BLAKE2b-256 |
486ad133f669645ce8477bf29cbf4c6012e23bfd93c45a7b754cc1bae4fd3864
|
File details
Details for the file ascenderai-0.1.2-py3-none-any.whl.
File metadata
- Download URL: ascenderai-0.1.2-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.2 Darwin/21.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30f1fea4f6ddd7539238efdb719383566aca912f449b54816aff1c1e46d21320
|
|
| MD5 |
5acdaf292e0a688688952e8ab5e21b21
|
|
| BLAKE2b-256 |
c32ce44a34af2e9ac14cce38455dccbd8adc0bfff948f329b682f690e30d4196
|