Skip to main content

JamAI Base: Let Your Database Orchestrate LLMs and RAG

Usage

JamAI Client

You can use JamAI to call into all of the APIs using Python. It has complete type-hinting for easy development in an IDE.

from jamaibase import JamAI


client = JamAI()
print(client.api_base)

API base

The main parameter to change is api_key (and api_base for OSS) when instantiating the client, which can be changed in 3 ways (from highest priority to least priority):

  • Passing it as str argument

    from jamaibase import JamAI
    
    # Cloud
    client = JamAI(api_key="...")
    print(client.api_base)
    
    # OSS
    client = JamAI(api_key="...", api_base="...")
    print(client.api_base)
    
  • Specifying it as environment variable named JAMAI_API_KEY and JAMAI_API_BASE

  • Specifying it in .env file as JAMAI_API_KEY and JAMAI_API_BASE

OSS Setup

Please refer to our GitHub repo for details.

Metadata

Release files for jamaibase 0.0.1

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

Source distribution (sdist)

Source distribution for jamaibase 0.0.1
File Size Uploaded Provenance Actions
jamaibase-0.0.1.tar.gz 3.2 MB Without provenance Details for jamaibase-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jamaibase 0.0.1
File Interpreter ABI Platform Actions
jamaibase-0.0.1-py3-none-any.whl Python 3 none any Details for jamaibase-0.0.1-py3-none-any.whl

Total release size: 3.2 MB

Release files / jamaibase-0.0.1.tar.gz

Download URL jamaibase-0.0.1.tar.gz
Size 3.2 MB
Tags Source
SHA-256 checksum
How to use checksums
5194c07f187d1b416fc2d598125b44349e26a30808f9daca5e8ce730d92eadff
BLAKE2b-256 checksum
How to use checksums
eb60776cd2c6e26cbc17e73d21340dcb8f5de16bc78295e53e9ca5d2debd5059
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.14

Release files / jamaibase-0.0.1-py3-none-any.whl

Download URL jamaibase-0.0.1-py3-none-any.whl
Size 23.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
46f6c072db188225a88c48de81981d5588c5c07377c7184a1dd961a0e803d71f
BLAKE2b-256 checksum
How to use checksums
aae5a755e06ff240e24839f4b82b92eb17c5cdf389039e6f92bd53823bc15d04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.14

Security for jamaibase 0.0.1

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