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.0.tar.gz
(6.3 kB
view hashes)
Built Distribution
Close
Hashes for ascenderai-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0be3c6d1bf53a3474dd809b374416632ae49f9de59a7230509db9022d10d6ab |
|
MD5 | dce1d1ffc0e40caa5bf605d3b0002025 |
|
BLAKE2b-256 | 98cf36ba38af77724d98ce3941fd81db85ccfc4cc19f67e359d22ac07398f447 |