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.1.0

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.1.0
File Size Uploaded Provenance Actions
jamaibase-0.1.0.tar.gz 3.2 MB Without provenance Details for jamaibase-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 3.2 MB

Release files / jamaibase-0.1.0.tar.gz

Download URL jamaibase-0.1.0.tar.gz
Size 3.2 MB
Tags Source
SHA-256 checksum
How to use checksums
0dda02a9188758180517de6c6cf381f3cc1b55f740388ac78a58ac4bdbcb8eef
BLAKE2b-256 checksum
How to use checksums
67216c28720243b82fd1fcd439eb06c6a47ecb73570fda732e50bc72f66af5b4
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.1.0-py3-none-any.whl

Download URL jamaibase-0.1.0-py3-none-any.whl
Size 23.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dea0b6837c9c5d3625b9247c21e0ec108ff9432b7e63ca809036f1fd7b6f9700
BLAKE2b-256 checksum
How to use checksums
b0547dce58ad368dc4d7f663583f220048fc151ff2a7cc2c1b5d08debb051b22
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.1.0

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