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 hashes)
Built Distribution
Close
Hashes for ascenderai-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30f1fea4f6ddd7539238efdb719383566aca912f449b54816aff1c1e46d21320 |
|
MD5 | 5acdaf292e0a688688952e8ab5e21b21 |
|
BLAKE2b-256 | c32ce44a34af2e9ac14cce38455dccbd8adc0bfff948f329b682f690e30d4196 |