HTTP client SDK for DenesGPT embedder service
Project description
DenesGPT Embedder SDK
HTTP client SDK for the DenesGPT embedder service. The server runs on a GPU VM and this package only talks to it via HTTP.
Install (client)
pip install denes-embedder
Quick start
from denes_embedder import Client
client = Client(
api_key="YOUR_API_KEY",
base_url="https://embedder.your-domain.com",
)
response = client.embed(texts=["Hola mundo"])
embedding = response.embeddings.float_[0]
Env vars
DENES_EMBEDDER_API_KEYDENES_EMBEDDER_BASE_URL- Legacy support:
EMBEDDER_API_KEY,EMBEDDER_BASE_URL
Local install (like denes-router-classifier)
cd denes-backend-python
uv add ../denes-embedder
Server (optional)
The server in this repo is unchanged. If you reinstall it from scratch, use the
server extra to pull FastAPI, torch, and model dependencies:
cd denes-embedder
uv sync --extra server
uv run python cli.py serve
Health check
from denes_embedder import Client
client = Client(api_key="YOUR_API_KEY", base_url="https://embedder.your-domain.com")
status = client.health()
print(status)
Documentation
Documentacion completa: docs/denes-embedder/denes-embedder.md
License
Proprietary - Tecnoedil SA
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 Distribution
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 denes_embedder-0.1.0.tar.gz.
File metadata
- Download URL: denes_embedder-0.1.0.tar.gz
- Upload date:
- Size: 262.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12604ef8c25b30820ba3ccc4bb9332e6fdf6e2c4c40b50e47ba82a0ff1d95cc0
|
|
| MD5 |
bf7811e76ca55a7307576fd0b17e09a4
|
|
| BLAKE2b-256 |
c9918d68a1058ae7a99020c493b37ff630bd9b0a5bc698018cb9776f592b497e
|
File details
Details for the file denes_embedder-0.1.0-py3-none-any.whl.
File metadata
- Download URL: denes_embedder-0.1.0-py3-none-any.whl
- Upload date:
- Size: 16.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4919718df3147864550aa580c12df2235ba07dd98f5d5ebd7bc514f05c59f3b
|
|
| MD5 |
2ed794e8a0cfed58f9288734dc2316d1
|
|
| BLAKE2b-256 |
179561647df7040ea590bf57fa9f31a232eaaa0241ef9e1a29626986945657e7
|