uDeepSeek - MicroPython LLM Access Library
uDeepSeek is a MicroPython library designed for large language model (LLM) of DeepSeek on ESP32S3 modules. It supports basic functionality like making HTTP requests, handling JSON, and timing operations for AI-related tasks.
Requirements
- MicroPython v1.23.0
- ESP32 hardware
Installation
To install the package, use the following command:
pip install uDeepSeek
## Example Usage
```python
import uDeepSeek
api_key = 'sk-emmmmm'
client = uDeepSeek.DeepSeek(api_key=api_key)
client.chat("Who r u?", mode="new")
client.chat("I'm a coder.", mode="continue")
message='Do you support speak in Chinese?'
client.chat(message, mode="continue")
print(client.chat_history)
Release files for uDeepSeek 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| uDeepSeek-0.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / uDeepSeek-0.1-py3-none-any.whl
| Download URL | uDeepSeek-0.1-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1ca2a16997f9b72eb61ae75967bd7e62f683966e14bc5e9f57d24d9b6897e0af
|
|
BLAKE2b-256 checksum How to use checksums |
b43403f6e65041e3ff458942dc8072cf155ec2671a717f651b1f12aa75907f0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.3
|