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
print(billiez.billiez())
# Generate AI response with default model
response = billiez.billiez(prompt="Tell me about AI")
print(response)
Advanced Usage
import billiez
# Custom model and parameters
response = billiez.billiez(
model="meta/llama3-70b-instruct",
prompt="Explain quantum computing",
temperature=0.7,
max_tokens=1024,
stream=False
)
print(response)
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.1.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.1.tar.gz.
File metadata
- Download URL: billiez-0.2.1.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 |
3a58700acef9e9c3f376c08a9635f5134e1d2bdd06b6295f647524c4cad11c0f
|
|
| MD5 |
dc13a5107d71b8f307bcb423d61b4d54
|
|
| BLAKE2b-256 |
01164f439dfcd873774bd0661c774ce6ec2dabd55bbcffc8d00a9a59690e958a
|
File details
Details for the file billiez-0.2.1-py3-none-any.whl.
File metadata
- Download URL: billiez-0.2.1-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 |
506ba9bf62b7d3aab9a39aa3c2fc4fbd4aca90cdcb96e657052ddbea654c0ed7
|
|
| MD5 |
e43b5ec711fd3f213407c58577a75350
|
|
| BLAKE2b-256 |
d320688bdf371fa20cb9b2ad769c1b6f4bee9cd890c66a5564f659515156778e
|