A Python client for DuckGPT
Project description
🦆 DuckGPT
DuckGPT is a Python client for interacting with the DuckGPT model, providing seamless integration and easy-to-use functionalities.
🚀 Features
- Easy Installation: Quickly set up DuckGPT with a single command.
- Simple API: Intuitive methods to interact with the model.
- Flexible: Supports various models, including
gpt-4o-mini
. - Supports multiple languages: Now you can receive responses in languages other than english
gpt-4o-mini
.
📦 Installation
Install DuckGPT using pip
:
pip3 install duckgpt
💡 Usage
Here's a quick example to get you started:
from duckgpt import DuckGPT
# Initialize the client with the desired model
client = DuckGPT(model="gpt-4o-mini")
# Fetch available models
models = client.Models()
# Interact with the model
response = client.Chat("Hello, world! 你好世界! ", [])
print(response)
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
duckgpt-1.0.3.tar.gz
(2.8 kB
view details)
Built Distribution
File details
Details for the file duckgpt-1.0.3.tar.gz
.
File metadata
- Download URL: duckgpt-1.0.3.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 141b9e60e92f07437d18d9d9924023e9f5ce5731c66d9c318ec23196ad204101 |
|
MD5 | 90fec00b2d8d044856a1af0164370bef |
|
BLAKE2b-256 | 542d19228a73e9ff56751c3dccbbdf5537e13e069b3673a98d7d33c423aeba58 |
File details
Details for the file duckgpt-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: duckgpt-1.0.3-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cbef49bc8c3fb43c527d193ed16c3a15bad7076eb1da7b300f9927c7c9abfa0 |
|
MD5 | c25f7c2b91ae28a796a638cecd3779fe |
|
BLAKE2b-256 | d099a5fc86adbc8e4482d78cf4e78ad7b4cbe1ab33d92a5bfba30f912177b564 |