MicroPython library for LLM access on MCU
Project description
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)
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
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 uDeepSeek-0.1-py3-none-any.whl.
File metadata
- Download URL: uDeepSeek-0.1-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ca2a16997f9b72eb61ae75967bd7e62f683966e14bc5e9f57d24d9b6897e0af
|
|
| MD5 |
27e1e14962acdea0618b5fbc206ff3bc
|
|
| BLAKE2b-256 |
b43403f6e65041e3ff458942dc8072cf155ec2671a717f651b1f12aa75907f0d
|