NVIDIA API wrapper for AI text generation
Project description
Here's a clean README.md for your PyPI package that doesn't expose the custom prompt modification:
# 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.0.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.0.tar.gz.
File metadata
- Download URL: billiez-0.2.0.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 |
5f4f35dc7c469e6adbf3be9c128d9de7e595de8afae1a43ef8b44a76c9fc0595
|
|
| MD5 |
3a0622cbf5c311899ef23a07a0db02eb
|
|
| BLAKE2b-256 |
f876cf0202dc4e8c62c559018bec1fbe4fb25d9405923f8b13c15aede56f9c70
|
File details
Details for the file billiez-0.2.0-py3-none-any.whl.
File metadata
- Download URL: billiez-0.2.0-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 |
0a982180ca08daae4724306b529838d302ef415b16a4ee977a6b7c40455b1243
|
|
| MD5 |
93cd127d464d3cb1b547c493f411cb6a
|
|
| BLAKE2b-256 |
8b96e82d249ddd2dd7fbb66b554fa362a3d051e8d38a1dcc89bd80099a337e8d
|