Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

RightNow — Arabic AI SDK

Python SDK for the Arabic API by RightNow. Chat, embeddings, speech-to-text, and text-to-speech — all optimized for Arabic.

Install

pip install rightnow-ai

Quick Start

from rightnow import RightNow

client = RightNow(api_key="rn-...")

response = client.chat.completions.create(
    model="falcon-h1-arabic-7b",
    messages=[{"role": "user", "content": "ما هي عاصمة الأردن؟"}],
)
print(response.choices[0].message.content)

Streaming

stream = client.chat.completions.create(
    model="falcon-h1-arabic-7b",
    messages=[{"role": "user", "content": "مرحبا"}],
    stream=True,
)
for chunk in stream:
    if chunk.choices[0].delta.content:
        print(chunk.choices[0].delta.content, end="")
stream.close()

Embeddings

response = client.embeddings.create(
    model="bge-m3-arabic",
    input="مرحبا بالعالم",
)
print(response.data[0].embedding[:5])

Async

from rightnow import AsyncRightNow

async with AsyncRightNow(api_key="rn-...") as client:
    response = await client.chat.completions.create(
        model="falcon-h1-arabic-7b",
        messages=[{"role": "user", "content": "مرحبا"}],
    )

Available Models

Model Type Size Description
falcon-h1-arabic-7b Chat 7B Best price/quality (default)
falcon-h1-arabic-34b Chat 34B Complex reasoning
jais-2-8b Chat 8B Strong dialect understanding
allam-7b Chat 7B Saudi Arabic, MSA
bge-m3-arabic Embeddings 568M 1024-dim, 8192 context
whisper-v3-arabic STT 809M Arabic speech recognition
chatterbox-arabic TTS ~1B Arabic text-to-speech

Metadata

Release files for rightnow-ai 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rightnow-ai 0.2.3
File Size Uploaded Provenance Actions
rightnow_ai-0.2.3.tar.gz 8.2 kB Without provenance Details for rightnow_ai-0.2.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rightnow-ai 0.2.3
File Interpreter ABI Platform Actions
rightnow_ai-0.2.3-py3-none-any.whl Python 3 none any Details for rightnow_ai-0.2.3-py3-none-any.whl

Total release size: 21.0 kB

Release files / rightnow_ai-0.2.3.tar.gz

Download URL rightnow_ai-0.2.3.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
16fd366bbc6ee399e410ad15d0c8d6ab0aaaaeb02f3be50d07a749a1668d8c75
BLAKE2b-256 checksum
How to use checksums
ddeb78841be6772d17a6a22f1dba7cb990c6ec5b7d2aa4e65ae667d741282221
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / rightnow_ai-0.2.3-py3-none-any.whl

Download URL rightnow_ai-0.2.3-py3-none-any.whl
Size 12.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f3d8ce31b672112e6ac0e38405c4301183c2ede8072163ab519f272e33ec2dc2
BLAKE2b-256 checksum
How to use checksums
a2b101fdda981b1d5608441eed5e9f7e426bfd4d11ec5a5b21f700c4f83f36b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Security for rightnow-ai 0.2.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page