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.2.tar.gz (3.1 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.2-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nvidiamodel-0.1.2.tar.gz
  • Upload date:
  • Size: 3.1 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.2.tar.gz
Algorithm Hash digest
SHA256 9811454878b24b81d47b10b7a4c19cd15d4daca5d951cc90103357e2a3da2936
MD5 7977212c8c1bb3ff37f012876526bdc9
BLAKE2b-256 f0dea12dfb28353fe213cb639738641f6d580791c23f393b9a585e3c035720c6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nvidiamodel-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.9 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 406e5ac4e15a553ae79092fb9562ec4731b3c097d2bcd54afc22d10de6bcc8b1
MD5 069e36bd385c34b87b22247aa65a7398
BLAKE2b-256 9738ce926d81e12e8e9a3186488f88dee4c8ae0fbb8ad20e7f40f8706683ae32

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