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.1.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

ascenderai-0.1.1-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file ascenderai-0.1.1.tar.gz.

File metadata

  • Download URL: ascenderai-0.1.1.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

Hashes for ascenderai-0.1.1.tar.gz
Algorithm Hash digest
SHA256 28a92d3d3ba8ebca04f3022f2e9a7539a79cd88e5f854bbdd795d582f7507e41
MD5 0fd1b5cab2c173630bd51b4496a8656c
BLAKE2b-256 b2133a1797b8668b286c4589bb17d91393002df33062d680063effaf97aeee00

See more details on using hashes here.

File details

Details for the file ascenderai-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: ascenderai-0.1.1-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

Hashes for ascenderai-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a64f66e7c5bedcd923ef8ec9d5000eb9a38dae3aaee9be8d53195ff9b66d7131
MD5 e94b5c2b30cf374399b3ca54bfba7f9a
BLAKE2b-256 8da9b556ca423bcd7dff917b4f71b6b19e9e00640d0227ca8db84fd13e8936e0

See more details on using hashes here.

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