NVIDIA API wrapper for AI text generation
Project description
# billiez
Python package for interacting with NVIDIA's AI API
## Installation
```bash
pip install billiez
Usage
Basic Usage
import billiez
# Default usage
billiez()
# Generate AI response with default model
billiez(prompt="Tell me about AI")
Advanced Usage
import billiez
# Custom model and parameters
response = billiez(
model="meta/llama3-70b-instruct",
prompt="Explain quantum computing",
temperature=0.7,
max_tokens=1024,
stream=False
)
Parameters
model(str): AI model to use (default: "deepseek-ai/deepseek-r1-distill-qwen-7b")prompt(str): Your query for the AI (returns Craftguy info if None)temperature(float): Controls randomness (0.0-1.0)top_p(float): Controls diversity (0.0-1.0)max_tokens(int): Maximum length of responsestream(bool): Stream response if True
Requirements
- Python 3.6+
openaipackage
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
billiez-0.2.2.tar.gz
(3.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file billiez-0.2.2.tar.gz.
File metadata
- Download URL: billiez-0.2.2.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2f57ed6cd64aa1c9b73bd98706f289fb7de360ee8b54dd047122e4b13562770
|
|
| MD5 |
6c15f9d152786cf08131b7aed023027b
|
|
| BLAKE2b-256 |
b7f4d2cd1ef4f45fea119e72a9df62ae4fa086bdb613a9f88fc1ef8dbc6db514
|
File details
Details for the file billiez-0.2.2-py3-none-any.whl.
File metadata
- Download URL: billiez-0.2.2-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0fd9ec83d4eb78a1f2612b59a8db5fd7007e0044ca46b7f7d4e2b4000d93307
|
|
| MD5 |
a940d8aa3fd45d3bfe84b3fd05630af9
|
|
| BLAKE2b-256 |
f785d5fc33597390ee5c6bb6a60b9a6531461b4695e1ae47740f455cfec8fca1
|