Skip to main content

A Python library for interacting with NVIDIA API through OpenAI-compatible interface

Project description

nvidiamodel

A Python library for interacting with NVIDIA API through OpenAI-compatible interface.

Installation

pip install nvidiamodel

Usage

from nvidiamodel import answer

# Use the API
response = answer(
    API="your-api-key",
    MODEL="nvidia/llama-3.1-8b-instruct",
    PROMPT="Your prompt here"
)

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

nvidiamodel-0.1.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nvidiamodel-0.1.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file nvidiamodel-0.1.0.tar.gz.

File metadata

  • Download URL: nvidiamodel-0.1.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.4

File hashes

Hashes for nvidiamodel-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6de41950ca61caff907cc765174a8155c38696a7f268316f11c9c297c4e03c48
MD5 19ee83898ac85860fc11e359e4cc4612
BLAKE2b-256 33f845b059d427f04fe99f43a8d8d7411d44122420e7083532006975fbca1f0b

See more details on using hashes here.

File details

Details for the file nvidiamodel-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: nvidiamodel-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.4

File hashes

Hashes for nvidiamodel-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e4c0f0a6ec95f7afabe5bebed8801dff9f0f2a364b494c6c349f753c675b081b
MD5 55f98cc4e4ffa6bb2304e922d9d84cad
BLAKE2b-256 9b2c1701dff5d8bb54b54429c1bc1d1e5992357c1635d4cc0d29593356996d1f

See more details on using hashes here.

Supported by

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