Skip to main content

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


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)

Uploaded Source

Built Distribution

ascenderai-0.1.2-py3-none-any.whl (8.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page