An extensible LLM prompting library for embedded micros/processors written in C
Hugging Face- Openai
- Groq
- Bare metal
- ESP-IDF
- Arduino
This is basically an ESP-IDF component. To support arduino enviroment, files in /ino provide a thin c++ encapsulation layer around the c codebase and a provides a struture the IDE understands.
- Add as an independent component to your project. Files in ino/ are irrelevant to IDF projects and may be removed.
- See the bundled examples
-
Get:
-
Library manager: Search for micro-prompt. (WIP)
-
Clone the repository. copy
micro-prompt/src/common
intoino/src/
. Moveino/
to the arduino library directory(usuallyDocuments/Arduino/libraries
on windows). Find examples in/ino/examples/
-
Alternatively, run the edit the powershell script
install-ino.ps1
first line$arduino_lib_path = "C:\Users\{username}\Documents\Arduino\libraries\"
to point to your Arduino lib path and run script to install.
-
-
See the bundled examples and quick starter in
The only dependency is cJSON by DaveGamble bundled with the project.