uLLMpy - MicroPython LLM Access Library
uLLMpy is a MicroPython library designed for large language model (LLM) applications 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 uLLMpy'
Example Usage
import uLLMpy
## Example Usage
```python
import uLLMpy
api_key = 'sk-emmmmm'
client = uLLMpy.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 uLLMpy 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ullmpy-0.1.tar.gz | 2.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| uLLMpy-0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.9 kB
Release files / ullmpy-0.1.tar.gz
| Download URL | ullmpy-0.1.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ef73863711603bf95f04afff6b6d7722e16cd928670cd7686dbb2783015346f6
|
|
BLAKE2b-256 checksum How to use checksums |
25bf1d54c6217b4d84aec4e29f0a90088505039326a23bc784648d52e982c436
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.3
|
Release files / uLLMpy-0.1-py3-none-any.whl
| Download URL | uLLMpy-0.1-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
34570d9c20dcab199be070607b9924dbac49aee079b978a41afe031e11edbe42
|
|
BLAKE2b-256 checksum How to use checksums |
23534338f5bef60a69ec9b1b5f91129eec6bf6f1026aa3bb8c3d5036fd365666
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.3
|