lm-studio-api-extended-0.1.0 has been yanked.
🧠 LM Studio API (Extended)
This crate extends rs-lm-studio-api
by [Bulat Sh.], adding embedding support.
Use this to interact with locally hosted LM Studio models — send prompts, receive
completions (streaming or not), and now... generate embeddings as well!
Features
- ✅ Chat completions (fully async, with or without streaming)
- ✅ Embedding support (POST /v1/embeddings, sync-style usage)
- ✅ Minimal setup — just point to your LM Studio server
- ✅ Customizable prompts, model selection, and context memory
Quick Start
Add it to your Cargo.toml:
= "0.1"
Examples
Check out the examples/ directory for working demos. You can run them like this:
Licensing:
This project is licensed under the MIT License, inheriting from the original work by Bulat Sh. See LICENSE for details.
Feedback:
You can contact the original creator via GitHub or send a message to their Telegram @fuderis.
This library is constantly evolving, and they welcome your suggestions and feedback.